Class: Kontena::Cli::Models::Node
- Inherits:
-
Object
- Object
- Kontena::Cli::Models::Node
- Includes:
- CloudApiModel
- Defined in:
- lib/kontena/cli/models/node.rb
Instance Attribute Summary
Attributes included from CloudApiModel
Instance Method Summary collapse
Methods included from CloudApiModel
#id, #initialize, #method_missing
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Kontena::Cli::Models::CloudApiModel
Instance Method Details
#organization_id ⇒ Object
11 12 13 |
# File 'lib/kontena/cli/models/node.rb', line 11 def organization_id @api_data.dig('relationships', 'organization', 'data', 'id') end |
#platform_id ⇒ Object
7 8 9 |
# File 'lib/kontena/cli/models/node.rb', line 7 def platform_id @api_data.dig('relationships', 'platform', 'data', 'id') end |