Module: Ribose::Actions::All::ClassMethods

Defined in:
lib/ribose/actions/all.rb

Instance Method Summary collapse

Instance Method Details

#all(options = {}) ⇒ Array <Sawyer::Resource>

List Resources

This exposes the instance method as class methods, and once invoked then it instantiate a new instance & invokes the all instance method with the provided parameters.

Parameters:

  • options (Hash) (defaults to: {})

    Query parameters as Hash

Returns:

  • (Array <Sawyer::Resource>)


37
38
39
# File 'lib/ribose/actions/all.rb', line 37

def all(options = {})
  new(options).all
end