Sha256: a26fc11de23e72ba9ad63b959c53941aeeda26a952320ffdfdd5b4120bbd6772

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

module Whatser
  module Configuration
    VALID_OPTIONS_KEYS = [:api_key,:api_secret,:username,:password,:oauth_token,:api_uri,:redirect_uri]
    
    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.api_uri       = DEFAULT_API_URI
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
whatser-0.2.0 lib/whatser/configuration.rb