Module: Zaikio::Client::Helpers::Pagination::ClassMethods

Defined in:
lib/zaikio/client/helpers/pagination.rb

Instance Method Summary collapse

Instance Method Details

#allObject

Overrides the method included by Spyke::Scoping to return paginated relations.



64
65
66
# File 'lib/zaikio/client/helpers/pagination.rb', line 64

def all
  current_scope || Relation.new(self, uri: uri)
end