class SixSaferpay::Twint

Attributes

certificate_expiration_date[RW]

Public Class Methods

new(certificate_expiration_date:) click to toggle source
# File lib/six_saferpay/models/twint.rb, line 6
def initialize(certificate_expiration_date:)
  @certificate_expiration_date = certificate_expiration_date
end

Public Instance Methods

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