Exception: PayLane::ConnectionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/paylane/connection_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(soap_error) ⇒ ConnectionError

Returns a new instance of ConnectionError.



5
6
7
# File 'lib/paylane/connection_error.rb', line 5

def initialize(soap_error)
  @soap_error = soap_error
end

Instance Attribute Details

#soap_errorObject (readonly)

Returns the value of attribute soap_error.



3
4
5
# File 'lib/paylane/connection_error.rb', line 3

def soap_error
  @soap_error
end

Instance Method Details

#to_hashObject



9
10
11
# File 'lib/paylane/connection_error.rb', line 9

def to_hash
  @soap_error.to_hash
end