Class: Yelp::Fusion::Responses::Models::Center
- Defined in:
- lib/yelp/fusion/responses/models/center.rb
Overview
Model fot the Center json body
Instance Attribute Summary collapse
-
#latitude ⇒ Object
readonly
Returns the value of attribute latitude.
-
#longitude ⇒ Object
readonly
Returns the value of attribute longitude.
Instance Method Summary collapse
-
#initialize(json) ⇒ Center
constructor
A new instance of Center.
Constructor Details
#initialize(json) ⇒ Center
Returns a new instance of Center.
30 31 32 |
# File 'lib/yelp/fusion/responses/models/center.rb', line 30 def initialize(json) super(json) end |
Instance Attribute Details
#latitude ⇒ Object (readonly)
Returns the value of attribute latitude.
29 30 31 |
# File 'lib/yelp/fusion/responses/models/center.rb', line 29 def latitude @latitude end |
#longitude ⇒ Object (readonly)
Returns the value of attribute longitude.
29 30 31 |
# File 'lib/yelp/fusion/responses/models/center.rb', line 29 def longitude @longitude end |