Class: Latitude::API::Resources::ElasticIP::Server
- Defined in:
- lib/latitude/api/resources/elastic_ip.rb
Constant Summary
Constants inherited from APIObject
Instance Attribute Summary collapse
- #hostname ⇒ String readonly
- #id ⇒ String readonly
- #operating_system ⇒ String readonly
- #primary_ipv4 ⇒ 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
#hostname ⇒ String (readonly)
33 34 35 36 37 38 |
# File 'lib/latitude/api/resources/elastic_ip.rb', line 33 class Server < APIObject attribute :id, :string, read_only: true attribute :hostname, :string, read_only: true attribute :primary_ipv4, :string, read_only: true attribute :operating_system, :string, read_only: true end |
#id ⇒ String (readonly)
33 34 35 36 37 38 |
# File 'lib/latitude/api/resources/elastic_ip.rb', line 33 class Server < APIObject attribute :id, :string, read_only: true attribute :hostname, :string, read_only: true attribute :primary_ipv4, :string, read_only: true attribute :operating_system, :string, read_only: true end |
#operating_system ⇒ String (readonly)
33 34 35 36 37 38 |
# File 'lib/latitude/api/resources/elastic_ip.rb', line 33 class Server < APIObject attribute :id, :string, read_only: true attribute :hostname, :string, read_only: true attribute :primary_ipv4, :string, read_only: true attribute :operating_system, :string, read_only: true end |
#primary_ipv4 ⇒ String (readonly)
33 34 35 36 37 38 |
# File 'lib/latitude/api/resources/elastic_ip.rb', line 33 class Server < APIObject attribute :id, :string, read_only: true attribute :hostname, :string, read_only: true attribute :primary_ipv4, :string, read_only: true attribute :operating_system, :string, read_only: true end |