Sha256: 0a62360391286a1334fa24269af6743b826b8ca16e9983d09b256a79717bdf90

Contents?: true

Size: 464 Bytes

Versions: 7

Compression:

Stored size: 464 Bytes

Contents

module Whatser
  module Configuration
    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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
whatser-0.6.1 lib/whatser/configuration.rb
whatser-0.6.0 lib/whatser/configuration.rb
whatser-0.5.0 lib/whatser/configuration.rb
whatser-0.4.0 lib/whatser/configuration.rb
whatser-0.3.2 lib/whatser/configuration.rb
whatser-0.3.1 lib/whatser/configuration.rb
whatser-0.3.0 lib/whatser/configuration.rb