Sha256: df203b31f1e59056f231d09b20ee9ca0a3381b40e85ebff425bfc2b2a25a9249

Contents?: true

Size: 537 Bytes

Versions: 2

Compression:

Stored size: 537 Bytes

Contents

require 'faraday'
require 'json'
require 'hashie'
require 'yandex/market/content/version'
require 'yandex/market/content/configuration'
require 'yandex/market/content/client'

module Yandex
  module Market
    class Content
      class << self
        attr_accessor :configuration

        def configuration
          @configuration ||= Configuration.new
        end

        def reset
          @configuration = Configuration.new
        end

        def configure
          yield(configuration)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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