Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Oct 8, 2015
1 parent 5832df8 commit 8c78ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,14 @@ sub = rcsdk.create_subscription()

sub.subscribe(['/restapi/v1.0/account/~/extension/~/presence'])

class MyListener
class MyObserver
def update(message)
puts "Subscription Message Received"
puts JSON.dump(message)
end
end

sub.add_observer(MyListener.new())
sub.add_observer(MyObserver.new())

sub.destroy() # end the subscription
```
Expand Down

0 comments on commit 8c78ba2

Please sign in to comment.