Class: Converse::API
- Inherits:
-
Object
- Object
- Converse::API
- Defined in:
- lib/converse/api.rb
Instance Attribute Summary collapse
-
#broker ⇒ Object
readonly
Returns the value of attribute broker.
Instance Method Summary collapse
-
#initialize(broker) ⇒ API
constructor
A new instance of API.
Constructor Details
#initialize(broker) ⇒ API
Returns a new instance of API.
5 6 7 |
# File 'lib/converse/api.rb', line 5 def initialize(broker) @broker = broker end |
Instance Attribute Details
#broker ⇒ Object (readonly)
Returns the value of attribute broker.
3 4 5 |
# File 'lib/converse/api.rb', line 3 def broker @broker end |