Refactor supplier settings

This commit is contained in:
2014-07-16 17:41:43 +02:00
parent a302123c6b
commit 2fec0b3bb6
31 changed files with 311 additions and 49 deletions
+9 -2
View File
@@ -10,10 +10,17 @@ class Supplier
property :open, type: :boolean, default: false
property :time_zone, default: 'UTC'
property :night_offset, type: Fixnum, default: 0 # Minutes
property :address
property :house_number
property :house_number_addition
property :postal_code
property :city
property :country, default: 'Netherlands'
property :facebook_promotion_url
#LOCATION
property :lat, type: Float, default: 52.08062426379751
property :lng, type: Float, default: 4.312562942504883
property :lat, type: Float #, default: 52.08062426379751
property :lng, type: Float #, default: 4.312562942504883
#WIFI
property :offer_wifi