Class: Ribose::Member

Inherits:
Base
  • Object
show all
Includes:
Actions::All
Defined in:
lib/ribose/member.rb

Class Method Summary collapse

Methods included from Actions::All

#all

Methods included from Actions::Base

#included

Methods inherited from Base

#initialize

Methods included from ResourceHelper

#resource_id, #resource_key, #resource_path, #resources

Constructor Details

This class inherits a constructor from Ribose::Base

Class Method Details

.all(space_id, options = {}) ⇒ Array<Sawyer::Resource>

List A Space Members

This interface retrieves the list of members for any speicfic user spaces and then will return those as ‘Sawyer::Resource`

Parameters:

  • space_id (String)

    The Space Id

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

    Query parameters as a Hash

Returns:

  • (Array<Sawyer::Resource>)


14
15
16
# File 'lib/ribose/member.rb', line 14

def self.all(space_id, options = {})
  new(space_id: space_id, **options).all
end