Class: Bitrise::Paging

Inherits:
Object
  • Object
show all
Defined in:
lib/bitrise/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nextObject (readonly)

Returns the value of attribute next.



9
10
11
# File 'lib/bitrise/response.rb', line 9

def next
  @next
end

#page_item_limitObject (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_countObject (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