Class: Yelp::Fusion::Responses::Models::Center

Inherits:
Base
  • Object
show all
Defined in:
lib/yelp/fusion/responses/models/center.rb

Overview

Model fot the Center json body

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#latitudeObject (readonly)

Returns the value of attribute latitude.



29
30
31
# File 'lib/yelp/fusion/responses/models/center.rb', line 29

def latitude
  @latitude
end

#longitudeObject (readonly)

Returns the value of attribute longitude.



29
30
31
# File 'lib/yelp/fusion/responses/models/center.rb', line 29

def longitude
  @longitude
end