module Layer::Operations::Paginate::ClassMethods
Public Instance Methods
all(client = self.client)
click to toggle source
Finds all resources from a paginated endpoint
@param client [Layer::Client] the client to use to make this request @return [Layer::ResourceCollection] the found resources @raise [Layer::Exceptions::Exception] a subclass of Layer::Exceptions::Exception
describing the error
# File lib/layer/operations/paginate.rb, line 11 def all(client = self.client) Layer::ResourceCollection.new(self, client) end