class SixSaferpay::Installment

Attributes

initial[RW]

Public Class Methods

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

Public Instance Methods

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