Class: Latitude::API::Resources::IP::Region
- Defined in:
- lib/latitude/api/resources/ip.rb
Constant Summary
Constants inherited from APIObject
Instance Attribute Summary collapse
- #id ⇒ String readonly
- #location ⇒ Location readonly
- #name ⇒ 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
#id ⇒ String (readonly)
55 56 57 58 59 |
# File 'lib/latitude/api/resources/ip.rb', line 55 class Region < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :location, Location, read_only: true end |
#location ⇒ Location (readonly)
55 56 57 58 59 |
# File 'lib/latitude/api/resources/ip.rb', line 55 class Region < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :location, Location, read_only: true end |
#name ⇒ String (readonly)
55 56 57 58 59 |
# File 'lib/latitude/api/resources/ip.rb', line 55 class Region < APIObject attribute :id, :string, read_only: true attribute :name, :string, read_only: true attribute :location, Location, read_only: true end |