Class: Economic::Response::Pagination

Inherits:
Model
  • Object
show all
Defined in:
lib/economic/response/pagination.rb

Instance Method Summary collapse

Methods inherited from Model

attributes, field, from_hash, from_json, inherited, #initialize, relation, relations, #to_h, #to_json, translate_attributes, translate_relations

Constructor Details

This class inherits a constructor from Economic::Model

Instance Method Details

#next_page?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/economic/response/pagination.rb', line 12

def next_page?
  next_page.present?
end