class Quaderno::Collection
Public Instance Methods
collection_type=(collection_type)
click to toggle source
# File lib/quaderno-ruby/collection.rb, line 8 def collection_type=(collection_type) @collection_type = collection_type end
has_more=(has_more_response)
click to toggle source
# File lib/quaderno-ruby/collection.rb, line 12 def has_more=(has_more_response) @has_more = has_more_response end
has_more?()
click to toggle source
# File lib/quaderno-ruby/collection.rb, line 20 def has_more? @has_more == 'true' end
next_page()
click to toggle source
# File lib/quaderno-ruby/collection.rb, line 24 def next_page return Quaderno::Collection.new unless has_more? @collection_type.all_from_url(@next_page_url, @request_options) end
next_page_url=(next_page_url)
click to toggle source
# File lib/quaderno-ruby/collection.rb, line 16 def next_page_url=(next_page_url) @next_page_url = next_page_url end
request_options=(options)
click to toggle source
# File lib/quaderno-ruby/collection.rb, line 4 def request_options=(options) @request_options = options end