Sha256: ab8b18f0008560f9e79e39636cf54294e85961077fc2c93952b631d42a1c3999
Contents?: true
Size: 680 Bytes
Versions: 22
Compression:
Stored size: 680 Bytes
Contents
# Toplevel Pubnub module. # frozen_string_literal: true module Pubnub # Validator module that holds all validators modules module Validator # Validator for GetAllUuidMetadata event module GetAllUuidMetadata include CommonValidator def validate! return if @skip_validate validate_subscribe_key! end private def validate_subscribe_key! return unless @subscribe_key.nil? raise( ArgumentError.new(object: self, message: ':subscribe_key is required for get all uuid metadata event.'), ':subscribe_key is required for get all uuid metadata event.' ) end end end end
Version data entries
22 entries across 22 versions & 1 rubygems