Class: Bitrise::Paging
- Inherits:
-
Object
- Object
- Bitrise::Paging
- Defined in:
- lib/bitrise/response.rb
Instance Attribute Summary collapse
-
#next ⇒ Object
readonly
Returns the value of attribute next.
-
#page_item_limit ⇒ Object
readonly
Returns the value of attribute page_item_limit.
-
#total_item_count ⇒ Object
readonly
Returns the value of attribute total_item_count.
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Paging
constructor
A new instance of Paging.
Constructor Details
#initialize(attrs = {}) ⇒ Paging
Returns a new instance of Paging.
11 12 13 14 15 |
# File 'lib/bitrise/response.rb', line 11 def initialize(attrs = {}) @total_item_count = attrs['total_item_count'] @page_item_limit = attrs['page_item_limit'] @next = attrs['next'] end |
Instance Attribute Details
#next ⇒ Object (readonly)
Returns the value of attribute next.
9 10 11 |
# File 'lib/bitrise/response.rb', line 9 def next @next end |
#page_item_limit ⇒ Object (readonly)
Returns the value of attribute page_item_limit.
9 10 11 |
# File 'lib/bitrise/response.rb', line 9 def page_item_limit @page_item_limit end |
#total_item_count ⇒ Object (readonly)
Returns the value of attribute total_item_count.
9 10 11 |
# File 'lib/bitrise/response.rb', line 9 def total_item_count @total_item_count end |