Class: PixiClient::Requests::GetChangedItems
- Defined in:
- lib/pixi_client/requests/get_changed_items.rb
Constant Summary
Constants inherited from Base
Base::FIVE_MINUTES, Base::TIME_STRING_FORMAT
Instance Attribute Summary collapse
-
#since ⇒ Object
Returns the value of attribute since.
Instance Method Summary collapse
- #api_method ⇒ Object
-
#initialize(opts) ⇒ GetChangedItems
constructor
A new instance of GetChangedItems.
- #message ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(opts) ⇒ GetChangedItems
6 7 8 |
# File 'lib/pixi_client/requests/get_changed_items.rb', line 6 def initialize(opts) self.since = opts[:since] end |
Instance Attribute Details
#since ⇒ Object
Returns the value of attribute since.
4 5 6 |
# File 'lib/pixi_client/requests/get_changed_items.rb', line 4 def since @since end |
Instance Method Details
#api_method ⇒ Object
10 11 12 |
# File 'lib/pixi_client/requests/get_changed_items.rb', line 10 def api_method :pixi_get_changed_items end |
#message ⇒ Object
14 15 16 |
# File 'lib/pixi_client/requests/get_changed_items.rb', line 14 def { 'Since' => since.strftime(TIME_STRING_FORMAT) } end |