Class: Latitude::API::Resources::Plan::Spec
Constant Summary
Constants inherited
from APIObject
APIObject::RESERVED
Instance Attribute Summary collapse
Attributes inherited from APIObject
#raw
Method Summary
Methods inherited from APIObject
#==, #[], #as_json, #each, #hash, #initialize, #inspect, #key?, #keys, #method_missing, #respond_to_missing?, #to_h, wrap
#attribute, #attribute_specs
#attribute_spec, #read_attribute, #wrap_attribute
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Latitude::API::APIObject
Instance Attribute Details
#cpu ⇒ Cpu
84
85
86
87
88
89
90
|
# File 'lib/latitude/api/resources/plan.rb', line 84
class Spec < APIObject
attribute :cpu, Cpu, read_only: true
attribute :memory, Memory, read_only: true
attribute :drives, [Drive], read_only: true
attribute :nics, [Nic], read_only: true
attribute :gpu, Gpu, read_only: true
end
|
#drives ⇒ Array<Drive>
84
85
86
87
88
89
90
|
# File 'lib/latitude/api/resources/plan.rb', line 84
class Spec < APIObject
attribute :cpu, Cpu, read_only: true
attribute :memory, Memory, read_only: true
attribute :drives, [Drive], read_only: true
attribute :nics, [Nic], read_only: true
attribute :gpu, Gpu, read_only: true
end
|
#gpu ⇒ Gpu
84
85
86
87
88
89
90
|
# File 'lib/latitude/api/resources/plan.rb', line 84
class Spec < APIObject
attribute :cpu, Cpu, read_only: true
attribute :memory, Memory, read_only: true
attribute :drives, [Drive], read_only: true
attribute :nics, [Nic], read_only: true
attribute :gpu, Gpu, read_only: true
end
|
84
85
86
87
88
89
90
|
# File 'lib/latitude/api/resources/plan.rb', line 84
class Spec < APIObject
attribute :cpu, Cpu, read_only: true
attribute :memory, Memory, read_only: true
attribute :drives, [Drive], read_only: true
attribute :nics, [Nic], read_only: true
attribute :gpu, Gpu, read_only: true
end
|
#nics ⇒ Array<Nic>
84
85
86
87
88
89
90
|
# File 'lib/latitude/api/resources/plan.rb', line 84
class Spec < APIObject
attribute :cpu, Cpu, read_only: true
attribute :memory, Memory, read_only: true
attribute :drives, [Drive], read_only: true
attribute :nics, [Nic], read_only: true
attribute :gpu, Gpu, read_only: true
end
|