Sha256: aea2d3d7742826e4735a7f797549ab470e4b40a9d0d6d343fc7fcc49fcb4e0d1

Contents?: true

Size: 242 Bytes

Versions: 8

Compression:

Stored size: 242 Bytes

Contents

class GeocoderResponse < Struct.new(:code, :latitude, :longitude, :errors)
  def self.from_array(array)
     array.collect do |geocode|
      from_hash(:code => geocode[0], :latitude => geocode[1], :longitude => geocode[2])
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
threetaps-client-1.0.14 lib/dto/geocoder/geocoder_response.rb
threetaps-client-1.0.13 lib/dto/geocoder/geocoder_response.rb
threetaps-client-1.0.12 lib/dto/geocoder/geocoder_response.rb
threetaps-client-1.0.11 lib/dto/geocoder/geocoder_response.rb
threetaps-client-1.0.10 lib/dto/geocoder/geocoder_response.rb
threetaps-client-1.0.9 lib/dto/geocoder/geocoder_response.rb
threetaps-client-1.0.8 lib/dto/geocoder/geocoder_response.rb
threetaps-client-1.0.7 lib/dto/geocoder/geocoder_response.rb