lib/whatser/configuration.rb in whatser-0.2.0 vs lib/whatser/configuration.rb in whatser-0.3.0

- old
+ new

@@ -1,15 +1,16 @@ module Whatser module Configuration - VALID_OPTIONS_KEYS = [:api_key,:api_secret,:username,:password,:oauth_token,:api_uri,:redirect_uri] + 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 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 end end \ No newline at end of file