Class: Latitude::API::Resources::Server::Region
- Defined in:
- lib/latitude/api/resources/server.rb
Constant Summary
Constants inherited from APIObject
Instance Attribute Summary collapse
- #city ⇒ String readonly
- #country ⇒ String readonly
- #site ⇒ Site 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
#city ⇒ String (readonly)
71 72 73 74 75 |
# File 'lib/latitude/api/resources/server.rb', line 71 class Region < APIObject attribute :city, :string, read_only: true attribute :country, :string, read_only: true attribute :site, Site, read_only: true end |
#country ⇒ String (readonly)
71 72 73 74 75 |
# File 'lib/latitude/api/resources/server.rb', line 71 class Region < APIObject attribute :city, :string, read_only: true attribute :country, :string, read_only: true attribute :site, Site, read_only: true end |
#site ⇒ Site (readonly)
71 72 73 74 75 |
# File 'lib/latitude/api/resources/server.rb', line 71 class Region < APIObject attribute :city, :string, read_only: true attribute :country, :string, read_only: true attribute :site, Site, read_only: true end |