Sha256: 5c8b6718e2377a6b037b8546d8fe074a38d0ce8d174987042c3bcebf959bf50c

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

# rubocop:disable all
require 'httparty'
require 'base64'
require 'openssl'
require 'active_support/core_ext'
require 'builder'
require 'nokogiri'

require_relative 'mws/query'
require_relative 'mws/connection'
require_relative 'mws/api/base'
require_relative 'mws/api/orders'
require_relative 'mws/api/reports'
require_relative 'mws/api/products'
require_relative 'mws/api/sellers'
require_relative 'mws/api/subscriptions'
require_relative 'mws/api/recommendations'
require_relative 'mws/api/fulfillment_inventory'
require_relative 'mws/api/fulfillment_inbound_shipment'
require_relative 'mws/api/fulfillment_outbound_shipment'
require_relative 'mws/api/feeds'
require_relative 'mws/api/feeds/envelope'

module MWS
  @@aws_access_key_id = nil
  @@aws_secret_access_key = nil

  def self.aws_access_key_id=(key_id)
    @@aws_access_key_id = key_id
  end

  def self.aws_access_key_id
    @@aws_access_key_id
  end

  def self.aws_secret_access_key=(secret_key)
    @@aws_secret_access_key = secret_key
  end

  def self.aws_secret_access_key
    @@aws_secret_access_key
  end

  def self.new(options = {})
    @connection = MWS::Connection.new(options)
  end

  def self.config
    yield self
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mws_rb-0.0.6 lib/mws.rb