Sha256: 3b8c636843050d930822e4195bef1112b7d1a762a258254b458395e3b40114bd
Contents?: true
Size: 501 Bytes
Versions: 14
Compression:
Stored size: 501 Bytes
Contents
# Toplevel Pubnub module. module Pubnub # Validator module that holds all validators modules module Validator # Validator for Grant event module Grant include CommonValidator def validate! return if @skip_validate validate_ttl! end private def validate_ttl! return unless !@ttl.nil? && !@ttl.is_a?(Integer) raise( ArgumentError.new, ':ttl has to be kind of Integer' ) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems