Class: IletiMerkezi::Report
- Inherits:
-
Object
- Object
- IletiMerkezi::Report
- Includes:
- XmlBuilder
- Defined in:
- lib/ileti_merkezi/actions/report.rb
Overview
Report
Constant Summary collapse
- PATH =
'/get-report'
Constants included from XmlBuilder
Instance Attribute Summary collapse
-
#order_id ⇒ Object
readonly
Returns the value of attribute order_id.
-
#page ⇒ Object
readonly
Returns the value of attribute page.
-
#row_count ⇒ Object
readonly
Returns the value of attribute row_count.
Instance Method Summary collapse
-
#initialize(order_id, page: 1, row_count: 1000) ⇒ Report
constructor
A new instance of Report.
- #query ⇒ Object
Methods included from XmlBuilder
Constructor Details
#initialize(order_id, page: 1, row_count: 1000) ⇒ Report
Returns a new instance of Report.
11 12 13 14 15 |
# 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 |
Instance Attribute Details
#order_id ⇒ Object (readonly)
Returns the value of attribute order_id.
9 10 11 |
# File 'lib/ileti_merkezi/actions/report.rb', line 9 def order_id @order_id end |
#page ⇒ Object (readonly)
Returns the value of attribute page.
9 10 11 |
# File 'lib/ileti_merkezi/actions/report.rb', line 9 def page @page end |
#row_count ⇒ Object (readonly)
Returns the value of attribute row_count.
9 10 11 |
# File 'lib/ileti_merkezi/actions/report.rb', line 9 def row_count @row_count end |