Class: ReactorSDK::Resources::Company
- Inherits:
-
BaseResource
- Object
- BaseResource
- ReactorSDK::Resources::Company
- Defined in:
- lib/reactor_sdk/resources/company.rb
Instance Attribute Summary
Attributes inherited from BaseResource
#attributes, #id, #meta, #relationships, #type
Instance Method Summary collapse
-
#created_at ⇒ String
ISO8601 timestamp when the company was created.
-
#inspect ⇒ String
Human-readable representation.
-
#name ⇒ String
Display name of the company.
-
#org_id ⇒ String
Adobe IMS organisation ID.
-
#updated_at ⇒ String
ISO8601 timestamp when the company was last updated.
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
#created_at ⇒ String
Returns ISO8601 timestamp when the company was created.
25 |
# File 'lib/reactor_sdk/resources/company.rb', line 25 attribute :created_at |
#inspect ⇒ String
Returns Human-readable representation.
33 34 35 |
# File 'lib/reactor_sdk/resources/company.rb', line 33 def inspect "#<ReactorSDK::Resources::Company id=#{id.inspect} name=#{name.inspect}>" end |
#name ⇒ String
Returns Display name of the company.
19 |
# File 'lib/reactor_sdk/resources/company.rb', line 19 attribute :name |
#org_id ⇒ String
Returns Adobe IMS organisation ID.
22 |
# File 'lib/reactor_sdk/resources/company.rb', line 22 attribute :org_id |
#updated_at ⇒ String
Returns ISO8601 timestamp when the company was last updated.
28 |
# File 'lib/reactor_sdk/resources/company.rb', line 28 attribute :updated_at |