lib/wei-backend/base.rb in wei-backend-0.0.2 vs lib/wei-backend/base.rb in wei-backend-0.0.3
- old
+ new
@@ -55,14 +55,14 @@
def self.on_location &block
define_method(:handle_location_message, &block)
end
def self.on_subscribe &block
- define_method(:handle_location_message, &block)
+ define_method(:handle_subscribe_message, &block)
end
def self.on_unsubscribe &block
- define_method(:handle_location_message, &block)
+ define_method(:handle_unsubscribe_message, &block)
end
end