Exception: Qiwi::SOAPError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code, string) ⇒ SOAPError

Returns a new instance of SOAPError.



78
79
80
81
# File 'lib/qiwi/client.rb', line 78

def initialize(code, string)
  @code = code
  super(string)
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



77
78
79
# File 'lib/qiwi/client.rb', line 77

def code
  @code
end