Module: Googletastic::Mixins::Pagination::InstanceMethods

Defined in:
lib/googletastic/mixins/pagination.rb

Instance Method Summary collapse

Instance Method Details

#total_resultsObject



26
27
28
# File 'lib/googletastic/mixins/pagination.rb', line 26

def total_results
  self.head ? self.head.total_results : 1
end