Class: Ribose::Space
- Includes:
- Actions::All, Actions::Create, Actions::Fetch, Actions::Update
- Defined in:
- lib/ribose/space.rb
Class Method Summary collapse
- .create(name:, **attributes) ⇒ Object
- .delete(space_uuid, confirmation:, **options) ⇒ Object
- .remove(space_uuid, options = {}) ⇒ Object
Methods included from Actions::Update
Methods included from Actions::Base
Methods included from Actions::Create
Methods included from Actions::Fetch
Methods included from Actions::All
Methods inherited from Base
Methods included from ResourceHelper
#resource_id, #resource_key, #resource_path, #resources, #resources_path
Constructor Details
This class inherits a constructor from Ribose::Base
Class Method Details
.create(name:, **attributes) ⇒ Object
10 11 12 |
# File 'lib/ribose/space.rb', line 10 def self.create(name:, **attributes) new(attributes.merge(name: name)).create end |
.delete(space_uuid, confirmation:, **options) ⇒ Object
18 19 20 |
# File 'lib/ribose/space.rb', line 18 def self.delete(space_uuid, confirmation:, **) remove(space_uuid, .merge(password_confirmation: confirmation)) end |