Sha256: 69e6dee44eeeba066a6734a88d2a72661e7cbba3f28c6b7a4ce31543faa75b97
Contents?: true
Size: 526 Bytes
Versions: 37
Compression:
Stored size: 526 Bytes
Contents
# Toplevel Pubnub module. module Pubnub # Validator module that holds all validators modules module Validator # Validator for Grant event module Delete include CommonValidator def validate! return if @skip_validate validate_channel! end private def validate_channel! return unless @channel.blank? || @channel.index(',') raise( ArgumentError.new, 'You have to call #delete on single channel' ) end end end end
Version data entries
37 entries across 37 versions & 1 rubygems