Class: WhatsappSdk::Api::Responses::PaginationRecords
- Inherits:
-
Object
- Object
- WhatsappSdk::Api::Responses::PaginationRecords
- Defined in:
- lib/whatsapp_sdk/api/responses/pagination_records.rb
Instance Attribute Summary collapse
-
#after ⇒ Object
readonly
Returns the value of attribute after.
-
#before ⇒ Object
readonly
Returns the value of attribute before.
-
#records ⇒ Object
readonly
Returns the value of attribute records.
Instance Method Summary collapse
-
#initialize(records:, before:, after:) ⇒ PaginationRecords
constructor
A new instance of PaginationRecords.
Constructor Details
#initialize(records:, before:, after:) ⇒ PaginationRecords
Returns a new instance of PaginationRecords.
9 10 11 12 13 |
# File 'lib/whatsapp_sdk/api/responses/pagination_records.rb', line 9 def initialize(records:, before:, after:) @records = records @before = before @after = after end |
Instance Attribute Details
#after ⇒ Object (readonly)
Returns the value of attribute after.
7 8 9 |
# File 'lib/whatsapp_sdk/api/responses/pagination_records.rb', line 7 def after @after end |
#before ⇒ Object (readonly)
Returns the value of attribute before.
7 8 9 |
# File 'lib/whatsapp_sdk/api/responses/pagination_records.rb', line 7 def before @before end |
#records ⇒ Object (readonly)
Returns the value of attribute records.
7 8 9 |
# File 'lib/whatsapp_sdk/api/responses/pagination_records.rb', line 7 def records @records end |