class PixiClient::Requests::AddCommentToOrder

Attributes

comment[RW]
order_nr[RW]

Public Class Methods

new(order_nr, comment) click to toggle source
# File lib/pixi_client/requests/add_comment_to_order.rb, line 6
def initialize(order_nr, comment)
  self.order_nr = order_nr
  self.comment = comment
end

Public Instance Methods

api_method() click to toggle source
# File lib/pixi_client/requests/add_comment_to_order.rb, line 11
def api_method
  :pixi_add_order_comment
end
message() click to toggle source
# File lib/pixi_client/requests/add_comment_to_order.rb, line 15
def message
  { 'OrderNr' => order_nr, 'Comment' => comment }
end