Class: PushClient::Communicator
- Inherits:
-
Object
- Object
- PushClient::Communicator
- Includes:
- HTTParty
- Defined in:
- lib/push-client.rb
Direct Known Subclasses
Constant Summary collapse
- HEADERS =
{'User-Agent' => 'PuSH Ruby Client', 'Content-Type' => 'application/x-www-form-urlencoded'}
Instance Method Summary collapse
-
#initialize(hub) ⇒ Communicator
constructor
A new instance of Communicator.
Constructor Details
#initialize(hub) ⇒ Communicator
Returns a new instance of Communicator.
13 14 15 |
# File 'lib/push-client.rb', line 13 def initialize(hub) @hub = hub end |