Sha256: 7709e01266c3361a1364b8a2e72f54362ed577a116fc5761f8823b9a6406383b
Contents?: true
Size: 369 Bytes
Versions: 7
Compression:
Stored size: 369 Bytes
Contents
module Bright class Address < Model @attribute_names = [:street, :apt, :city, :state, :postal_code, :latitude, :longitude, :type] attr_accessor *@attribute_names alias lat latitude alias lng longitude def geographical_coordinates if self.latitude and self.longitude "#{self.latitude},#{self.longitude}" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems