Module: Zaikio::Client::Helpers::Pagination::ClassMethods
- Defined in:
- lib/zaikio/client/helpers/pagination.rb
Instance Method Summary collapse
-
#all ⇒ Object
Overrides the method included by Spyke::Scoping to return paginated relations.
Instance Method Details
#all ⇒ Object
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 |