Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…e_event
  • Loading branch information...
commit 8209fdbe81fd73494cf1b605fa128885869bfb04 1 parent 8cfd819
@bhellman1 bhellman1 authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  services/hall.rb
  2. +1 −1  test/hall_test.rb
View
2  services/hall.rb
@@ -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
2  test/hall_test.rb
@@ -14,7 +14,7 @@ def test_push
svc = service(
{'room_token' => 'test_token'}, payload)
- svc.receive_push
+ svc.receive_event
end
def service(*args)
Please sign in to comment.
Something went wrong with that request. Please try again.