Method: Worldline::Acquiring::SDK::Communication::ResponseException#get_header
- Defined in:
- lib/worldline/acquiring/sdk/communication/response_exception.rb
#get_header(header_name) ⇒ Object
Returns the Worldline::Acquiring::SDK::Communication::ResponseHeader that corresponds to the given header_name used in the HTTP response from the Worldline Acquiring platform, or nil if the header was not present in the response.
34 35 36 |
# File 'lib/worldline/acquiring/sdk/communication/response_exception.rb', line 34 def get_header(header_name) ResponseHeader.get_header(@headers, header_name) end |