module Pubnub
Public Class Methods
new(options = {})
click to toggle source
# File lib/pubnub.rb, line 54 def new(options = {}) warn('pubnub-ruby gem is deprecated and it\'s not maintained anymore. Please use gem "pubnub".') #raise(Pubnub::Error::InitError, 'Initialize with either a hash of options, or exactly 5 named parameters.') unless args.size == 5 or (args.size == 1 and args[0].class == Hash) Pubnub::Client.new(options) end