Class: Latitude::API::Resources::Plan::Cpu
- Defined in:
- lib/latitude/api/resources/plan.rb
Constant Summary
Constants inherited from APIObject
Instance Attribute Summary collapse
- #clock ⇒ Float readonly
- #cores ⇒ Integer readonly
- #count ⇒ Integer readonly
- #type ⇒ 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
#clock ⇒ Float (readonly)
25 26 27 28 29 30 |
# File 'lib/latitude/api/resources/plan.rb', line 25 class Cpu < APIObject attribute :type, :string, read_only: true attribute :clock, :float, read_only: true attribute :cores, :integer, read_only: true attribute :count, :integer, read_only: true end |
#cores ⇒ Integer (readonly)
25 26 27 28 29 30 |
# File 'lib/latitude/api/resources/plan.rb', line 25 class Cpu < APIObject attribute :type, :string, read_only: true attribute :clock, :float, read_only: true attribute :cores, :integer, read_only: true attribute :count, :integer, read_only: true end |
#count ⇒ Integer (readonly)
25 26 27 28 29 30 |
# File 'lib/latitude/api/resources/plan.rb', line 25 class Cpu < APIObject attribute :type, :string, read_only: true attribute :clock, :float, read_only: true attribute :cores, :integer, read_only: true attribute :count, :integer, read_only: true end |
#type ⇒ String (readonly)
25 26 27 28 29 30 |
# File 'lib/latitude/api/resources/plan.rb', line 25 class Cpu < APIObject attribute :type, :string, read_only: true attribute :clock, :float, read_only: true attribute :cores, :integer, read_only: true attribute :count, :integer, read_only: true end |