Sha256: 17e81abceeba556db1152e34c54274aa09d83c3809a7610305a4bfe6a6191e46
Contents?: true
Size: 343 Bytes
Versions: 56
Compression:
Stored size: 343 Bytes
Contents
module Kadmin module Errors class Authorization < Kadmin::Error attr_reader :resource, :user, :reason def initialize(resource, user, reason) @resource = resource @user = user @reason = reason super("#{@user} is unauthorized to access #{@resource} => #{@reason}") end end end end
Version data entries
56 entries across 56 versions & 1 rubygems