class SixSaferpay::ProcessingData

Attributes

bancontact[RW]

Public Class Methods

new(bancontact: nil) click to toggle source
# File lib/six_saferpay/models/processing_data.rb, line 6
def initialize(bancontact: nil)
  @bancontact = SixSaferpay::Bancontact.new(bancontact.to_h) if bancontact
end

Public Instance Methods

to_h()
Alias for: to_hash
to_hash() click to toggle source
# File lib/six_saferpay/models/processing_data.rb, line 10
def to_hash
  hash = Hash.new
  hash.merge!(bancontact: @bancontact.to_h) if @bancontact
  hash
end
Also aliased as: to_h