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