class SixSaferpay::SixTransaction::MultipartFinalizeResponse
Attributes
response_header[RW]
Public Class Methods
new(response_header:)
click to toggle source
# File lib/six_saferpay/api/six_transaction/responses/multipart_finalize_response.rb, line 7 def initialize(response_header:) @response_header = SixSaferpay::ResponseHeader.new(response_header.to_h) if response_header end
Public Instance Methods
to_hash()
click to toggle source
# File lib/six_saferpay/api/six_transaction/responses/multipart_finalize_response.rb, line 11 def to_hash hash = Hash.new hash.merge!(response_header: @response_header.to_h) if @response_header hash end
Also aliased as: to_h