Sha256: 43c64b4e4dc839e5dabb4052d3883938396c41e6c9a0b21f587cf05896b0f756
Contents?: true
Size: 681 Bytes
Versions: 60
Compression:
Stored size: 681 Bytes
Contents
# Toplevel Pubnub module. module Pubnub # Validator module that holds all validators modules module Validator # Validator for HereNow event module HereNow include CommonValidator def validate! return if @skip_validate validate_channel! end private def validate_channel! # fail( # ArgumentError.new( # object: self, # message: 'Invalid :channel. You can run HereNow globally or for a single channel at once.' # ), # 'Invalid :channel. You can run HereNow globally or for a single channel at once.' # ) if @channel.size > 1 end end end end
Version data entries
60 entries across 60 versions & 1 rubygems