Sha256: 9cbfc810f74016b676c1f580e6b299b260e9f4fc0b6764409d943079479fd0f9

Contents?: true

Size: 238 Bytes

Versions: 9

Compression:

Stored size: 238 Bytes

Contents

module Edmunds

  include Configurations

  not_configured :api_key do |prop|
    raise NoMethodError, "#{prop} must be configured"
  end

  configuration_defaults do |c|
    c.request_params.fmt = 'json'
    c.api_version = 2
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
edmunds_api-0.1.8 lib/edmunds/configuration.rb
edmunds_api-0.1.7 lib/edmunds/configuration.rb
edmunds_api-0.1.6 lib/edmunds/configuration.rb
edmunds_api-0.1.5 lib/edmunds/configuration.rb
edmunds_api-0.1.4 lib/edmunds/configuration.rb
edmunds_api-0.1.3 lib/edmunds/configuration.rb
edmunds_api-0.1.2 lib/edmunds/configuration.rb
edmunds_api-0.1.1 lib/edmunds/configuration.rb
edmunds_api-0.1.0 lib/edmunds/configuration.rb