Class: Latitude::API::Resources::Server::Site
- Inherits:
-
APIObject
- Object
- APIObject
- Latitude::API::Resources::Server::Site
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
#facility ⇒ String
57
58
59
60
61
62
63
|
# File 'lib/latitude/api/resources/server.rb', line 57
class Site < APIObject
attribute :id, :string, read_only: true
attribute :name, :string, read_only: true
attribute :slug, :string, read_only: true
attribute :facility, :string, read_only: true
attribute :rack_id, :string, read_only: true
end
|
#id ⇒ String
57
58
59
60
61
62
63
|
# File 'lib/latitude/api/resources/server.rb', line 57
class Site < APIObject
attribute :id, :string, read_only: true
attribute :name, :string, read_only: true
attribute :slug, :string, read_only: true
attribute :facility, :string, read_only: true
attribute :rack_id, :string, read_only: true
end
|
#name ⇒ String
57
58
59
60
61
62
63
|
# File 'lib/latitude/api/resources/server.rb', line 57
class Site < APIObject
attribute :id, :string, read_only: true
attribute :name, :string, read_only: true
attribute :slug, :string, read_only: true
attribute :facility, :string, read_only: true
attribute :rack_id, :string, read_only: true
end
|
#rack_id ⇒ String
57
58
59
60
61
62
63
|
# File 'lib/latitude/api/resources/server.rb', line 57
class Site < APIObject
attribute :id, :string, read_only: true
attribute :name, :string, read_only: true
attribute :slug, :string, read_only: true
attribute :facility, :string, read_only: true
attribute :rack_id, :string, read_only: true
end
|
#slug ⇒ String
57
58
59
60
61
62
63
|
# File 'lib/latitude/api/resources/server.rb', line 57
class Site < APIObject
attribute :id, :string, read_only: true
attribute :name, :string, read_only: true
attribute :slug, :string, read_only: true
attribute :facility, :string, read_only: true
attribute :rack_id, :string, read_only: true
end
|