Class: Bitly::API::Qrcode::PaginatedList

Inherits:
PaginatedList show all
Defined in:
lib/bitly/api/qrcode/paginated_list.rb

Instance Attribute Summary

Attributes inherited from PaginatedList

#next_url, #page, #prev_url, #size, #total

Attributes inherited from List

#response

Instance Method Summary collapse

Methods inherited from PaginatedList

#has_next_page?, #has_prev_page?, #initialize, #next_page, #prev_page

Methods inherited from List

#each, #initialize

Constructor Details

This class inherits a constructor from Bitly::API::PaginatedList

Instance Method Details

#item_factory(data) ⇒ Object



12
13
14
# File 'lib/bitly/api/qrcode/paginated_list.rb', line 12

def item_factory(data)
  Qrcode.new(data: data, client: @client)
end

#item_keyObject



8
9
10
# File 'lib/bitly/api/qrcode/paginated_list.rb', line 8

def item_key
  "qr_codes"
end