Class: NYCGeoClient::API
- Inherits:
-
Object
- Object
- NYCGeoClient::API
- Includes:
- Connection, Request
- Defined in:
- lib/nyc_geo_client/api.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ API
constructor
Creates a new API.
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ API
Creates a new API
11 12 13 14 15 16 |
# File 'lib/nyc_geo_client/api.rb', line 11 def initialize(={}) = NYCGeoClient..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |