Class: Latitude::API::Resources::VirtualMachine::Distro

Inherits:
APIObject
  • Object
show all
Defined in:
lib/latitude/api/resources/virtual_machine.rb

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

Methods included from Attributes::ClassMethods

#attribute, #attribute_specs

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

#nameString (readonly)

Returns:

  • (String)


49
50
51
52
53
# File 'lib/latitude/api/resources/virtual_machine.rb', line 49

class Distro < APIObject
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :series, :string, read_only: true
end

#seriesString (readonly)

Returns:

  • (String)


49
50
51
52
53
# File 'lib/latitude/api/resources/virtual_machine.rb', line 49

class Distro < APIObject
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :series, :string, read_only: true
end

#slugString (readonly)

Returns:

  • (String)


49
50
51
52
53
# File 'lib/latitude/api/resources/virtual_machine.rb', line 49

class Distro < APIObject
  attribute :name, :string, read_only: true
  attribute :slug, :string, read_only: true
  attribute :series, :string, read_only: true
end