Sha256: 7e241cde3dd2637c90021ce62a9b330f214c10d1de5cfc206745f991923749f4

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 Bytes

Contents

module Yandex
  module Market
    class Configuration
      attr_accessor :version, :authorization_token, :resource_url

      DEFAULT_CONF = {
        version: 'v2.1.0',
        resource_url: 'https://api.content.market.yandex.ru/'
      }.freeze

      def initialize
        @version = DEFAULT_CONF[:version]
        @resource_url = DEFAULT_CONF[:resource_url]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yandex_market_content-0.4.0 lib/yandex/market/content/configuration.rb
yandex_market_content-0.3.0 lib/yandex/market/content/configuration.rb
yandex_market_content-0.2.0 lib/yandex/market/content/configuration.rb