Sha256: f326a38ceddc7aed98665d8a0c1c8016121eba9ab3db41e94b2be61f9710d803

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

require "muffin_man/version"
require "muffin_man/sp_api_client"
require "muffin_man/lwa/auth_helper"
require "muffin_man/solicitations/v1"
require "muffin_man/orders/v0"
require "muffin_man/reports/v20210630"
require "muffin_man/catalog_items/v20201201"
require "muffin_man/catalog_items/v20220401"
require "muffin_man/finances/v0"
require "muffin_man/product_fees/v0"
require "muffin_man/authorization/v1"
require "muffin_man/tokens/v20210301"
require "muffin_man/product_pricing/v0"
require "muffin_man/listings/v20210801"
require "muffin_man/listings/v20200901"
require "muffin_man/fulfillment_inbound/v0"
require "muffin_man/fulfillment_inbound/v1"
require "muffin_man/fulfillment_outbound/v20200701"
require "muffin_man/fba_inventory/v1"
require "muffin_man/request_helpers"
require "muffin_man/feeds/v20210630"
require "muffin_man/notifications/v1"
require "muffin_man/merchant_fulfillment/v0"

module MuffinMan
  class Error < StandardError; end

  class SpApiAuthError < StandardError
    attr_reader :auth_response

    def initialize(auth_response)
      super
      @auth_response = auth_response
    end
  end

  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield(configuration)
  end

  class Configuration
    attr_accessor :save_access_token, :get_access_token
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
muffin_man-2.1.0 lib/muffin_man.rb