Class: ReactorSDK::Resources::Company

Inherits:
BaseResource show all
Defined in:
lib/reactor_sdk/resources/company.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

#created_atString

Returns ISO8601 timestamp when the company was created.

Returns:

  • (String)

    ISO8601 timestamp when the company was created



25
# File 'lib/reactor_sdk/resources/company.rb', line 25

attribute :created_at

#inspectString

Returns Human-readable representation.

Returns:

  • (String)

    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

#nameString

Returns Display name of the company.

Returns:

  • (String)

    Display name of the company



19
# File 'lib/reactor_sdk/resources/company.rb', line 19

attribute :name

#org_idString

Returns Adobe IMS organisation ID.

Returns:

  • (String)

    Adobe IMS organisation ID



22
# File 'lib/reactor_sdk/resources/company.rb', line 22

attribute :org_id

#updated_atString

Returns ISO8601 timestamp when the company was last updated.

Returns:

  • (String)

    ISO8601 timestamp when the company was last updated



28
# File 'lib/reactor_sdk/resources/company.rb', line 28

attribute :updated_at