Class: SimpleGeolocator::IPAPIResponse::LOCATION_STRUCT
- Inherits:
-
Struct
- Object
- Struct
- SimpleGeolocator::IPAPIResponse::LOCATION_STRUCT
- Defined in:
- lib/simple_geolocator/ipapi_response.rb
Overview
A simple struct that stores the name and code for the location.
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
34 35 36 |
# File 'lib/simple_geolocator/ipapi_response.rb', line 34 def code @code end |
#name ⇒ Object
Returns the value of attribute name
34 35 36 |
# File 'lib/simple_geolocator/ipapi_response.rb', line 34 def name @name end |