Class: GiantBombApi::Response

Inherits:
Object
  • Object
show all
Extended by:
Resource
Defined in:
lib/giant_bomb_api/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Resource

extended, find, resource_attribute, resource_name

Instance Attribute Details

#requestObject

Returns the value of attribute request.



7
8
9
# File 'lib/giant_bomb_api/response.rb', line 7

def request
  @request
end

Instance Method Details

#has_more_results?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/giant_bomb_api/response.rb', line 10

def has_more_results?
  offset + number_of_page_results < number_of_total_results
end