Class: ReactorSDK::Resources::Property
- Inherits:
-
BaseResource
- Object
- BaseResource
- ReactorSDK::Resources::Property
- Defined in:
- lib/reactor_sdk/resources/property.rb
Instance Attribute Summary
Attributes inherited from BaseResource
#attributes, #id, #meta, #relationships, #type
Instance Method Summary collapse
-
#created_at ⇒ String
ISO8601 timestamp when the property was created.
-
#domains ⇒ Array<String>
Domains associated with this property (web only).
-
#enabled ⇒ Boolean
Whether the property is enabled.
-
#inspect ⇒ String
Human-readable representation.
-
#name ⇒ String
Display name of the property.
-
#platform ⇒ String
Platform type — one of: “web”, “mobile”, “edge”.
-
#updated_at ⇒ String
ISO8601 timestamp when the property 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 property was created.
31 |
# File 'lib/reactor_sdk/resources/property.rb', line 31 attribute :created_at |
#domains ⇒ Array<String>
Returns Domains associated with this property (web only).
28 |
# File 'lib/reactor_sdk/resources/property.rb', line 28 attribute :domains, default: [] |
#enabled ⇒ Boolean
Returns Whether the property is enabled.
25 |
# File 'lib/reactor_sdk/resources/property.rb', line 25 attribute :enabled, as: :boolean |
#inspect ⇒ String
Returns Human-readable representation.
39 40 41 |
# File 'lib/reactor_sdk/resources/property.rb', line 39 def inspect "#<ReactorSDK::Resources::Property id=#{id.inspect} name=#{name.inspect} platform=#{platform.inspect}>" end |
#name ⇒ String
Returns Display name of the property.
19 |
# File 'lib/reactor_sdk/resources/property.rb', line 19 attribute :name |
#platform ⇒ String
Returns Platform type — one of: “web”, “mobile”, “edge”.
22 |
# File 'lib/reactor_sdk/resources/property.rb', line 22 attribute :platform |
#updated_at ⇒ String
Returns ISO8601 timestamp when the property was last updated.
34 |
# File 'lib/reactor_sdk/resources/property.rb', line 34 attribute :updated_at |