urban-mapping-api 0.9.4 → 0.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/urban-mapping-api.rb +2 -2
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.4
1
+ 0.9.5
@@ -24,7 +24,7 @@ module UrbanMapping
24
24
  class Interface
25
25
  ENDPOINT = 'http://api1.urbanmapping.com/neighborhoods/rest'
26
26
 
27
- attr_reader :api_key, :shared_secret, :options3
27
+ attr_reader :api_key, :shared_secret, :options
28
28
 
29
29
  # Create a new instance.
30
30
  # Requeres an api_key. A shared key needs to be provided for
@@ -126,7 +126,7 @@ module UrbanMapping
126
126
 
127
127
  output = JSON.parse(response.body_str)
128
128
 
129
- return output if parameters[:raw]
129
+ return output if options[:raw]
130
130
 
131
131
  output.to_openstruct
132
132
  rescue StandardError => ex
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urban-mapping-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dwan