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