Exception: LolSoap::FaultRaised
- Defined in:
- lib/lolsoap/errors.rb
Instance Attribute Summary collapse
-
#fault ⇒ Object
readonly
Returns the value of attribute fault.
Instance Method Summary collapse
-
#initialize(fault) ⇒ FaultRaised
constructor
A new instance of FaultRaised.
- #message ⇒ Object
Constructor Details
#initialize(fault) ⇒ FaultRaised
Returns a new instance of FaultRaised.
7 8 9 |
# File 'lib/lolsoap/errors.rb', line 7 def initialize(fault) @fault = fault end |
Instance Attribute Details
#fault ⇒ Object (readonly)
Returns the value of attribute fault.
5 6 7 |
# File 'lib/lolsoap/errors.rb', line 5 def fault @fault end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/lolsoap/errors.rb', line 11 def "#{fault.reason}\n#{fault.detail}" end |