lib/redrax/containers.rb
def list(options = {})
      resp = client.request(
        method:   :get,
        path:     '', 
        params:   options,
        expected: [200, 203], 
      )
      PaginatedContainers.new(
        resp.map { |c| Container.from_hash(client, c) }, 
        self,
        nil,
        options
      )
    end
# Queries for all of the {Container}s matching the query.
# NOTE: the API documents some default limitations for this API call,
# e.g., the maximum number of {Container}s to return in a single call.
# @return [PaginatedContainers] An Array of {Container}s that supports
#   pagination via the API
Queries for all of the {Container}s matching the query.
NOTE: the API documents some default limitations for this API call,
e.g., the maximum number of {Container}s to return in a single call.
Queries for all of the { Container } s matching the query . NOTE : the API documents some default limitations for this API call e . g . the maximum number of { Container } s to return in a single call .
def list(options = {})
      resp = client.request(
        method:   :get,
        path:     '', 
        params:   options,
        expected: [200, 203], 
      )
      PaginatedContainers.new(
        resp.map { |c| Container.from_hash(client, c) }, 
        self,
        nil,
        options
      )
    end
def list ( options = { } ) resp = client . request ( method : :get , path : '' , params : options , expected : [ 200 , 203 ] , ) PaginatedContainers . new ( resp . map { | c | Container . from_hash ( client , c ) } , self , nil , options ) end
Queries for all of the {Container}s matching the query.
Queries for all of the { Container } s matching the query .
An Array of {Container}s that supports pagination via the API
An Array of { Container } s that supports pagination via the API
PaginatedContainers
options