Sha256: 89c1bc67e569fb1d69f81eed8c25c37536a4a00edd32f2d4f395b3125ce1dc37
Contents?: true
Size: 308 Bytes
Versions: 11
Compression:
Stored size: 308 Bytes
Contents
class Pubnub def initialize(hash) @publish_key = hash[:publish_key] @subscribe_key = hash[:subscribe_key] @secret_key = hash[:secret_key] @ssl = true end def publish(message) return { channel: message[:channel], message: message[:message] } end end
Version data entries
11 entries across 11 versions & 1 rubygems