Class: PushClient::Communicator

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/push-client.rb

Direct Known Subclasses

Publisher, Subscriber

Constant Summary collapse

HEADERS =
{'User-Agent' => 'PuSH Ruby Client', 'Content-Type' => 'application/x-www-form-urlencoded'}

Instance Method Summary collapse

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