Class: Kitsune::Kit::Workflows::EnvironmentStatus
- Inherits:
-
Data
- Object
- Data
- Kitsune::Kit::Workflows::EnvironmentStatus
- Defined in:
- lib/kitsune/kit/workflows/inspect_environment.rb
Instance Attribute Summary collapse
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
-
#last_operations ⇒ Object
readonly
Returns the value of attribute last_operations.
-
#managed_resources ⇒ Object
readonly
Returns the value of attribute managed_resources.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
Instance Method Summary collapse
Instance Attribute Details
#environment ⇒ Object (readonly)
Returns the value of attribute environment
9 10 11 |
# File 'lib/kitsune/kit/workflows/inspect_environment.rb', line 9 def environment @environment end |
#last_operations ⇒ Object (readonly)
Returns the value of attribute last_operations
9 10 11 |
# File 'lib/kitsune/kit/workflows/inspect_environment.rb', line 9 def last_operations @last_operations end |
#managed_resources ⇒ Object (readonly)
Returns the value of attribute managed_resources
9 10 11 |
# File 'lib/kitsune/kit/workflows/inspect_environment.rb', line 9 def managed_resources @managed_resources end |
#server ⇒ Object (readonly)
Returns the value of attribute server
9 10 11 |
# File 'lib/kitsune/kit/workflows/inspect_environment.rb', line 9 def server @server end |
Instance Method Details
#to_h ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/kitsune/kit/workflows/inspect_environment.rb', line 10 def to_h { environment: environment, server: server&.to_h, managed_resources: managed_resources, last_operations: last_operations } end |