Sha256: 866b5bb64638e5b3d18c467c6131efe5fd681dd8e8c22a4743253784827f9d2f
Contents?: true
Size: 631 Bytes
Versions: 14
Compression:
Stored size: 631 Bytes
Contents
require 'json' require 'base64' require 'zlib' require 'open-uri' require 'openssl' require 'timers' require 'httpclient' require 'logger' require 'dry-validation' require 'cgi' require 'concurrent' require 'concurrent-edge' require 'pubnub/version' require 'pubnub/client' require 'pubnub/uuid' # Adding blank? and present? methods to Object. class Object def blank? respond_to?(:empty?) ? empty? : !self end def present? !blank? end end # Toplevel Pubnub module. module Pubnub class << self attr_accessor :logger, :client def new(options = {}) Pubnub::Client.new(options) end end end
Version data entries
14 entries across 14 versions & 1 rubygems