Sha256: 2b4a4d6585f71b008e956ace5bbe46a80a67e53ee25a82bc89ee6ede8e49dc9f
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 Bytes
Contents
module MWS class Base attr_accessor :connection def initialize(options={}) @connection = MWS::Connection.new(options) end def orders @orders ||= MWS::API::Order.new(@connection) end def inventory @inventory ||= MWS::API::Inventory.new(@connection) end def reports @reports ||= MWS::API::Report.new(@connection) end # serves as a server ping def self.server_time MWS::Connection.server_time end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-mws-0.1 | lib/ruby-mws/base.rb |