Permalink
Browse files

Updated hall.rb to send all events not just push events, using receiv…

…e_event
  • Loading branch information...
1 parent 8cfd819 commit 8209fdbe81fd73494cf1b605fa128885869bfb04 Brett Hellman committed Nov 5, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 services/hall.rb
  2. +1 −1 test/hall_test.rb
View
@@ -9,7 +9,7 @@ class Service::Hall < Service
maintained_by :github => 'bhellman1'
supported_by :web => 'https://hallcom.uservoice.com/', :email => 'contact@hall-inc.com', :twitter => 'hall'
- def receive_push
+ def receive_event
raise_config_error "Missing room token" if data['room_token'].to_s.empty?
room_token = data['room_token'].to_s
View
@@ -14,7 +14,7 @@ def test_push
svc = service(
{'room_token' => 'test_token'}, payload)
- svc.receive_push
+ svc.receive_event
end
def service(*args)

0 comments on commit 8209fdb

Please sign in to comment.