Class: Latitude::API::Resources::Server::OperatingSystem
- Inherits:
-
APIObject
- Object
- APIObject
- Latitude::API::Resources::Server::OperatingSystem
show all
- Defined in:
- lib/latitude/api/resources/server.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
#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
138
139
140
141
142
143
144
|
# File 'lib/latitude/api/resources/server.rb', line 138
class OperatingSystem < APIObject
attribute :name, :string, read_only: true
attribute :slug, :string, read_only: true
attribute :version, :string, read_only: true
attribute :features, Feature, read_only: true
attribute :distro, Distro, read_only: true
end
|
138
139
140
141
142
143
144
|
# File 'lib/latitude/api/resources/server.rb', line 138
class OperatingSystem < APIObject
attribute :name, :string, read_only: true
attribute :slug, :string, read_only: true
attribute :version, :string, read_only: true
attribute :features, Feature, read_only: true
attribute :distro, Distro, read_only: true
end
|
#name ⇒ String
138
139
140
141
142
143
144
|
# File 'lib/latitude/api/resources/server.rb', line 138
class OperatingSystem < APIObject
attribute :name, :string, read_only: true
attribute :slug, :string, read_only: true
attribute :version, :string, read_only: true
attribute :features, Feature, read_only: true
attribute :distro, Distro, read_only: true
end
|
#slug ⇒ String
138
139
140
141
142
143
144
|
# File 'lib/latitude/api/resources/server.rb', line 138
class OperatingSystem < APIObject
attribute :name, :string, read_only: true
attribute :slug, :string, read_only: true
attribute :version, :string, read_only: true
attribute :features, Feature, read_only: true
attribute :distro, Distro, read_only: true
end
|
#version ⇒ String
138
139
140
141
142
143
144
|
# File 'lib/latitude/api/resources/server.rb', line 138
class OperatingSystem < APIObject
attribute :name, :string, read_only: true
attribute :slug, :string, read_only: true
attribute :version, :string, read_only: true
attribute :features, Feature, read_only: true
attribute :distro, Distro, read_only: true
end
|