lib/ribose/join_space_request.rb in ribose-0.2.0 vs lib/ribose/join_space_request.rb in ribose-0.3.0
- old
+ new
@@ -1,7 +1,8 @@
module Ribose
class JoinSpaceRequest < Ribose::Base
include Ribose::Actions::All
+ include Ribose::Actions::Fetch
include Ribose::Actions::Create
include Ribose::Actions::Update
def self.accept(invitation_id, options = {})
new(resource_id: invitation_id, state: 1, **options).update