Module: Whatser::Configuration
- Included in:
- Client
- Defined in:
- lib/whatser/configuration.rb
Constant Summary collapse
- VALID_OPTIONS_KEYS =
[:api_key,:api_secret,:username,:password,:oauth_token,:api_uri,:redirect_uri,:logger]
- DEFAULT_API_URI =
'https://production-2.sogeoapi.com'.freeze
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/whatser/configuration.rb', line 7 def self.included(base) base.api_key = nil base.api_secret = nil base.oauth_token = nil base.redirect_uri = nil base.logger = nil base.api_uri = DEFAULT_API_URI end |