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