Module: Pubnub::Validator::FetchMessages

Includes:
CommonValidator
Included in:
FetchMessages
Defined in:
lib/pubnub/validators/fetch_messages.rb

Overview

Validator for FetchMessages event.

Instance Method Summary collapse

Methods included from CommonValidator

#validate_origin, #validate_publish_key, #validate_subscribe_key, #validate_user_id

Instance Method Details

#validate!Object



10
11
12
13
14
15
# File 'lib/pubnub/validators/fetch_messages.rb', line 10

def validate!
  return if @skip_validate

  validate_subscribe_key!
  validate_channel_or_channels!
end