Class: Latitude::API::Resources::VirtualMachine::Credential
- Defined in:
- lib/latitude/api/resources/virtual_machine.rb
Constant Summary
Constants inherited from APIObject
Instance Attribute Summary collapse
- #host ⇒ String readonly
- #password ⇒ String readonly
- #ssh_keys ⇒ Array readonly
- #username ⇒ String readonly
Attributes inherited from APIObject
Method Summary
Methods inherited from APIObject
#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap
Methods included from Attributes::ClassMethods
Methods included from Attributes::InstanceMethods
#attribute_spec, #read_attribute, #wrap_attribute
Constructor Details
This class inherits a constructor from Latitude::API::APIObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Latitude::API::APIObject
Instance Attribute Details
#host ⇒ String (readonly)
108 109 110 111 112 113 |
# File 'lib/latitude/api/resources/virtual_machine.rb', line 108 class Credential < APIObject attribute :username, :string, read_only: true attribute :host, :string, read_only: true attribute :password, :string, read_only: true attribute :ssh_keys, :array, read_only: true end |
#password ⇒ String (readonly)
108 109 110 111 112 113 |
# File 'lib/latitude/api/resources/virtual_machine.rb', line 108 class Credential < APIObject attribute :username, :string, read_only: true attribute :host, :string, read_only: true attribute :password, :string, read_only: true attribute :ssh_keys, :array, read_only: true end |
#ssh_keys ⇒ Array (readonly)
108 109 110 111 112 113 |
# File 'lib/latitude/api/resources/virtual_machine.rb', line 108 class Credential < APIObject attribute :username, :string, read_only: true attribute :host, :string, read_only: true attribute :password, :string, read_only: true attribute :ssh_keys, :array, read_only: true end |
#username ⇒ String (readonly)
108 109 110 111 112 113 |
# File 'lib/latitude/api/resources/virtual_machine.rb', line 108 class Credential < APIObject attribute :username, :string, read_only: true attribute :host, :string, read_only: true attribute :password, :string, read_only: true attribute :ssh_keys, :array, read_only: true end |