Method: Worldline::Acquiring::SDK::Communication::ResponseException#get_header_value

Defined in:
lib/worldline/acquiring/sdk/communication/response_exception.rb

#get_header_value(header_name) ⇒ Object

Returns the header value received that corresponds to the header named by header_name, or nil if header_name was not a header present in the HTTP response.



40
41
42
# File 'lib/worldline/acquiring/sdk/communication/response_exception.rb', line 40

def get_header_value(header_name)
  ResponseHeader.get_header_value(@headers, header_name)
end