Class: ReactorSDK::Resources::Environment
- Inherits:
-
BaseResource
- Object
- BaseResource
- ReactorSDK::Resources::Environment
- Defined in:
- lib/reactor_sdk/resources/environment.rb
Instance Attribute Summary
Attributes inherited from BaseResource
#attributes, #id, #meta, #relationships, #type
Instance Method Summary collapse
-
#archived ⇒ Boolean
Whether the environment is archived.
-
#created_at ⇒ String
ISO8601 timestamp when the environment was created.
-
#inspect ⇒ String
Human-readable representation.
-
#name ⇒ String
Display name of the environment.
-
#stage ⇒ String
Stage — one of: “development”, “staging”, “production”.
-
#token ⇒ String?
Embed code for this environment.
-
#updated_at ⇒ String
ISO8601 timestamp when the environment 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
#archived ⇒ Boolean
Returns Whether the environment is archived.
26 |
# File 'lib/reactor_sdk/resources/environment.rb', line 26 attribute :archived, as: :boolean |
#created_at ⇒ String
Returns ISO8601 timestamp when the environment was created.
32 |
# File 'lib/reactor_sdk/resources/environment.rb', line 32 attribute :created_at |
#inspect ⇒ String
Returns Human-readable representation.
40 41 42 |
# File 'lib/reactor_sdk/resources/environment.rb', line 40 def inspect "#<ReactorSDK::Resources::Environment id=#{id.inspect} name=#{name.inspect} stage=#{stage.inspect}>" end |
#name ⇒ String
Returns Display name of the environment.
20 |
# File 'lib/reactor_sdk/resources/environment.rb', line 20 attribute :name |
#stage ⇒ String
Returns Stage — one of: “development”, “staging”, “production”.
23 |
# File 'lib/reactor_sdk/resources/environment.rb', line 23 attribute :stage |
#token ⇒ String?
Returns Embed code for this environment.
29 |
# File 'lib/reactor_sdk/resources/environment.rb', line 29 attribute :token |
#updated_at ⇒ String
Returns ISO8601 timestamp when the environment was last updated.
35 |
# File 'lib/reactor_sdk/resources/environment.rb', line 35 attribute :updated_at |