Sha256: 836e21d470628bd705fc487584c41bfc485809903b32c89fda61f857ea0f7b71

Contents?: true

Size: 1.6 KB

Versions: 3

Compression:

Stored size: 1.6 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/data_kiosk/v20231115"
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_inbound/v20240320"
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"
require "muffin_man/awd/v20240509"

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, :logger
  end

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

  class Configuration
    attr_accessor :save_access_token, :get_access_token, :logger
  end
end

# Set default logger
MuffinMan.logger = Logger.new($stdout)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
muffin_man-2.3.0 lib/muffin_man.rb
muffin_man-2.2.2 lib/muffin_man.rb
muffin_man-2.2.1 lib/muffin_man.rb