class Anilibria::Api::Exceptions::AuthError

Attributes

data[R]

Public Class Methods

new(data = {}) click to toggle source
Calls superclass method
# File lib/anilibria/api/exceptions/auth_error.rb, line 7
def initialize(data = {})
  @data = data

  super("#{mes} (#{key})")
end

Public Instance Methods

err() click to toggle source
# File lib/anilibria/api/exceptions/auth_error.rb, line 13
def err
  data[:err]
end
key() click to toggle source
# File lib/anilibria/api/exceptions/auth_error.rb, line 21
def key
  data[:key]
end
mes() click to toggle source
# File lib/anilibria/api/exceptions/auth_error.rb, line 17
def mes
  data[:mes]
end