module Beaconable

Constants

VERSION

Private Instance Methods

fire_beacon() click to toggle source
# File lib/beaconable.rb, line 25
def fire_beacon
  "#{self.class.name}Beacon".constantize.new(self, @object_was).call
  @object_was = nil
end
save_for_beacon() click to toggle source
# File lib/beaconable.rb, line 21
def save_for_beacon
  @object_was ||= ObjectWas.new(self).call
end