Method: ExtraSpace::Geocode.parse
- Defined in:
- lib/extraspace/geocode.rb
.parse(data:) ⇒ Geocode
17 18 19 20 21 22 |
# File 'lib/extraspace/geocode.rb', line 17 def self.parse(data:) new( latitude: data['latitude'], longitude: data['longitude'] ) end |