Sha256: c36dc8ccf34a521e8ae51eb45c937e4ce31d9c6b76b2aeadeba13eb945e4a844
Contents?: true
Size: 724 Bytes
Versions: 9
Compression:
Stored size: 724 Bytes
Contents
# frozen_string_literal: true require 'forwardable' require 'mws/feeds' require 'mws/finances' require 'mws/fulfillment_inbound_shipment' require 'mws/fulfillment_inventory' require 'mws/fulfillment_outbound_shipment' require 'mws/merchant_fulfillment' require 'mws/off_amazon_payments' require 'mws/orders' require 'mws/products' require 'mws/recommendations' require 'mws/reports' require 'mws/sellers' require 'mws/subscriptions' # The various Amazon MWS API sections. module MWS class << self extend Forwardable MWS.constants.each do |klass| method_name = klass.to_s.gsub(/(.)([A-Z])/, '\1_\2').downcase def_delegator MWS.const_get(klass).const_get(:Client), :new, method_name end end end
Version data entries
9 entries across 9 versions & 1 rubygems