Exception: BlazeVerify::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/blazeverify/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code: nil, message: nil) ⇒ Error

Returns a new instance of Error.


74
75
76
77
# File 'lib/blazeverify/client.rb', line 74

def initialize(code: nil, message: nil)
  @code = code
  @message = message
end

Instance Attribute Details

#codeObject

Returns the value of attribute code


72
73
74
# File 'lib/blazeverify/client.rb', line 72

def code
  @code
end

#messageObject

Returns the value of attribute message


72
73
74
# File 'lib/blazeverify/client.rb', line 72

def message
  @message
end