Class: Stattleship::Models::Venue

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/stattleship/models/venue.rb

Instance Method Summary collapse

Instance Method Details

#coordinatesObject


4
5
6
# File 'lib/stattleship/models/venue.rb', line 4

def coordinates
  [latitude, longitude]
end

#dumpObject


8
9
10
# File 'lib/stattleship/models/venue.rb', line 8

def dump
  to_h
end