Module: Tillless::Location::RailsInstanceMethods

Defined in:
lib/tillless-core/location.rb

Instance Method Summary collapse

Instance Method Details

#lat=(val) ⇒ Object

updated setters to decalibrate if lan/lon attributes updated without save



54
55
56
57
# File 'lib/tillless-core/location.rb', line 54

def lat=(val)
  self.calibrated = false
  super(val)
end

#lon=(val) ⇒ Object



59
60
61
62
# File 'lib/tillless-core/location.rb', line 59

def lon=(val)
  self.calibrated = false
  super(val)
end

#term1=(val) ⇒ Object



64
65
66
67
# File 'lib/tillless-core/location.rb', line 64

def term1=(val)
  self.calibrated = false
  super(val)
end

#term2=(val) ⇒ Object



69
70
71
72
# File 'lib/tillless-core/location.rb', line 69

def term2=(val)
  self.calibrated = false
  super(val)
end

#term3=(val) ⇒ Object



74
75
76
77
# File 'lib/tillless-core/location.rb', line 74

def term3=(val)
  self.calibrated = false
  super(val)
end

#term4=(val) ⇒ Object



79
80
81
82
# File 'lib/tillless-core/location.rb', line 79

def term4=(val)
  self.calibrated = false
  super(val)
end

#term5=(val) ⇒ Object



84
85
86
87
# File 'lib/tillless-core/location.rb', line 84

def term5=(val)
  self.calibrated = false
  super(val)
end

#term6=(val) ⇒ Object



89
90
91
92
# File 'lib/tillless-core/location.rb', line 89

def term6=(val)
  self.calibrated = false
  super(val)
end