Class: Firmapi::Location

Inherits:
Object
  • Object
show all
Defined in:
lib/firmapi/location.rb

Instance Method Summary collapse

Instance Method Details

#==(other_location) ⇒ Object



8
9
10
# File 'lib/firmapi/location.rb', line 8

def ==(other_location)
	self.latitude == other_location.latitude && self.longitude == other_location.longitude
end