Class: ReactorSDK::Resources::Profile

Inherits:
BaseResource show all
Defined in:
lib/reactor_sdk/resources/profile.rb

Instance Attribute Summary

Attributes inherited from BaseResource

#attributes, #id, #meta, #relationships, #type

Instance Method Summary collapse

Methods inherited from BaseResource

#==, #[], attribute, #initialize, #relationship_data, #relationship_id, #relationship_ids, #to_h

Constructor Details

This class inherits a constructor from ReactorSDK::Resources::BaseResource

Instance Method Details

#inspectObject



17
18
19
# File 'lib/reactor_sdk/resources/profile.rb', line 17

def inspect
  "#<ReactorSDK::Resources::Profile id=#{id.inspect} email=#{email.inspect}>"
end

#rightsObject



13
14
15
# File 'lib/reactor_sdk/resources/profile.rb', line 13

def rights
  Array(meta['rights'])
end