class AsyncCable::Errors::UnauthorizedError

@see AsyncCable::Connection#reject_unauthorized

Public Class Methods

new(reason = nil) click to toggle source
Calls superclass method
# File lib/async_cable/errors.rb, line 18
def initialize(reason = nil)
  super(reason || 'unauthorized')
end

Public Instance Methods

code() click to toggle source
# File lib/async_cable/errors.rb, line 22
def code
  1401
end