class IletiMerkezi::Report
Constants
- PATH
Attributes
order_id[R]
page[R]
row_count[R]
Public Class Methods
new(order_id, page: 1, row_count: 1000)
click to toggle source
# File lib/ileti_merkezi/actions/report.rb, line 11 def initialize(order_id, page: 1, row_count: 1000) @order_id = order_id @page = page @row_count = row_count end
Public Instance Methods
query()
click to toggle source
# File lib/ileti_merkezi/actions/report.rb, line 17 def query request = Request.new( path: PATH, payload: hash_to_xml( id: order_id, page: page, row_count: row_count ) ) request.call end