Class: Nico::Listener
- Inherits:
-
Object
- Object
- Nico::Listener
- Defined in:
- lib/nico/room/listener.rb
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(id, token) ⇒ Listener
constructor
A new instance of Listener.
Constructor Details
#initialize(id, token) ⇒ Listener
Returns a new instance of Listener.
10 11 12 |
# File 'lib/nico/room/listener.rb', line 10 def initialize(id, token) @url = "http://#{token}:[email protected]/room/#{id}/live.json" end |