Method: Worldline::Acquiring::SDK::Communication::ResponseException#to_s
- Defined in:
- lib/worldline/acquiring/sdk/communication/response_exception.rb
#to_s ⇒ Object
44 45 46 47 48 49 50 51 52 53 |
# File 'lib/worldline/acquiring/sdk/communication/response_exception.rb', line 44 def to_s str = super.to_s if @status_code > 0 str += '; status_code=' + @status_code.to_s end if !@body.nil? && @body.length > 0 str += "; response_body='" + @body + "'" end str.to_s end |