class SixSaferpay::SixPaymentPage::Assert
Attributes
request_header[RW]
token[RW]
Public Class Methods
new(request_header: nil, token:)
click to toggle source
# File lib/six_saferpay/api/six_payment_page/requests/assert.rb, line 7 def initialize(request_header: nil, token:) @request_header = request_header || SixSaferpay::RequestHeader.new() @token = token end
Public Instance Methods
response_class()
click to toggle source
# File lib/six_saferpay/api/six_payment_page/requests/assert.rb, line 28 def response_class SixSaferpay::SixPaymentPage::AssertResponse end
to_hash()
click to toggle source
# File lib/six_saferpay/api/six_payment_page/requests/assert.rb, line 12 def to_hash hash = Hash.new hash.merge!(request_header: @request_header.to_h) hash.merge!(token: @token) hash end
Also aliased as: to_h
to_json()
click to toggle source
# File lib/six_saferpay/api/six_payment_page/requests/assert.rb, line 20 def to_json to_hash.to_json end
url()
click to toggle source
# File lib/six_saferpay/api/six_payment_page/requests/assert.rb, line 24 def url '/Payment/v1/PaymentPage/Assert' end