class SixSaferpay::Alipay

Attributes

local_wallet[RW]

Public Class Methods

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

Public Instance Methods

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