Class: Pokepay::Response::PaginatedTransfersV2
- Inherits:
-
Object
- Object
- Pokepay::Response::PaginatedTransfersV2
- Defined in:
- lib/pokepay_partner_ruby_sdk/response/paginated_transfers_v2.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#next_page_cursor_id ⇒ Object
readonly
Returns the value of attribute next_page_cursor_id.
-
#per_page ⇒ Object
readonly
Returns the value of attribute per_page.
-
#prev_page_cursor_id ⇒ Object
readonly
Returns the value of attribute prev_page_cursor_id.
-
#rows ⇒ Object
readonly
Returns the value of attribute rows.
Instance Method Summary collapse
-
#initialize(row) ⇒ PaginatedTransfersV2
constructor
A new instance of PaginatedTransfersV2.
Constructor Details
#initialize(row) ⇒ PaginatedTransfersV2
Returns a new instance of PaginatedTransfersV2.
6 7 8 9 10 11 12 |
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_transfers_v2.rb', line 6 def initialize(row) @rows = row["rows"] @per_page = row["per_page"] @count = row["count"] @next_page_cursor_id = row["next_page_cursor_id"] @prev_page_cursor_id = row["prev_page_cursor_id"] end |
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count.
15 16 17 |
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_transfers_v2.rb', line 15 def count @count end |
#next_page_cursor_id ⇒ Object (readonly)
Returns the value of attribute next_page_cursor_id.
16 17 18 |
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_transfers_v2.rb', line 16 def next_page_cursor_id @next_page_cursor_id end |
#per_page ⇒ Object (readonly)
Returns the value of attribute per_page.
14 15 16 |
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_transfers_v2.rb', line 14 def per_page @per_page end |
#prev_page_cursor_id ⇒ Object (readonly)
Returns the value of attribute prev_page_cursor_id.
17 18 19 |
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_transfers_v2.rb', line 17 def prev_page_cursor_id @prev_page_cursor_id end |
#rows ⇒ Object (readonly)
Returns the value of attribute rows.
13 14 15 |
# File 'lib/pokepay_partner_ruby_sdk/response/paginated_transfers_v2.rb', line 13 def rows @rows end |