Class: PixiClient::Requests::ReadItems
- Defined in:
- lib/pixi_client/requests/read_items.rb
Constant Summary
Constants inherited from Base
Base::FIVE_MINUTES, Base::TIME_STRING_FORMAT
Instance Attribute Summary collapse
-
#created_from ⇒ Object
Returns the value of attribute created_from.
-
#created_to ⇒ Object
Returns the value of attribute created_to.
Instance Method Summary collapse
- #api_method ⇒ Object
-
#initialize(created_from, created_to) ⇒ ReadItems
constructor
A new instance of ReadItems.
- #message ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(created_from, created_to) ⇒ ReadItems
Returns a new instance of ReadItems.
6 7 8 9 |
# File 'lib/pixi_client/requests/read_items.rb', line 6 def initialize(created_from, created_to) self.created_from = created_from self.created_to = created_to end |
Instance Attribute Details
#created_from ⇒ Object
Returns the value of attribute created_from.
4 5 6 |
# File 'lib/pixi_client/requests/read_items.rb', line 4 def created_from @created_from end |
#created_to ⇒ Object
Returns the value of attribute created_to.
4 5 6 |
# File 'lib/pixi_client/requests/read_items.rb', line 4 def created_to @created_to end |
Instance Method Details
#api_method ⇒ Object
11 12 13 |
# File 'lib/pixi_client/requests/read_items.rb', line 11 def api_method :pixi_read_items end |
#message ⇒ Object
15 16 17 18 19 20 |
# File 'lib/pixi_client/requests/read_items.rb', line 15 def { 'CreateDateFrom' => created_from.strftime(TIME_STRING_FORMAT), 'CreateDateTo' => created_to.strftime(TIME_STRING_FORMAT) } end |