Exception: AuthenticationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/errors/authentication_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ AuthenticationError


2
3
4
# File 'lib/errors/authentication_error.rb', line 2

def initialize data
  @data = data
end

Instance Method Details

#to_sObject


6
7
8
# File 'lib/errors/authentication_error.rb', line 6

def to_s
  @data[:msg]
end