class PixiClient::Requests::ReadItems

Attributes

created_from[RW]
created_to[RW]

Public Class Methods

new(created_from, created_to) click to toggle source
# 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

Public Instance Methods

api_method() click to toggle source
# File lib/pixi_client/requests/read_items.rb, line 11
def api_method
  :pixi_read_items
end
message() click to toggle source
# File lib/pixi_client/requests/read_items.rb, line 15
def message
  {
    'CreateDateFrom' => created_from.strftime(TIME_STRING_FORMAT),
    'CreateDateTo' => created_to.strftime(TIME_STRING_FORMAT)
  }
end