Class: MWS::Base
- Inherits:
-
Object
- Object
- MWS::Base
- Defined in:
- lib/ruby-mws/base.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
Returns the value of attribute connection.
Class Method Summary collapse
-
.server_time ⇒ Object
serves as a server ping.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
- #inventory ⇒ Object
- #orders ⇒ Object
- #reports ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
7 8 9 |
# File 'lib/ruby-mws/base.rb', line 7 def initialize(={}) @connection = MWS::Connection.new() end |
Instance Attribute Details
#connection ⇒ Object
Returns the value of attribute connection.
5 6 7 |
# File 'lib/ruby-mws/base.rb', line 5 def connection @connection end |
Class Method Details
.server_time ⇒ Object
serves as a server ping
25 26 27 |
# File 'lib/ruby-mws/base.rb', line 25 def self.server_time MWS::Connection.server_time end |