Class: Bright::Address

Inherits:
Model show all
Defined in:
lib/bright/address.rb

Instance Method Summary collapse

Methods inherited from Model

#assign_attributes, attribute_names, #initialize, #to_json

Constructor Details

This class inherits a constructor from Bright::Model

Instance Method Details

#geographical_coordinatesObject



9
10
11
12
13
# File 'lib/bright/address.rb', line 9

def geographical_coordinates
  if latitude and longitude
    "#{latitude},#{longitude}"
  end
end