class SixSaferpay::SaferpayFields
Attributes
token[RW]
Public Class Methods
new(token: )
click to toggle source
# File lib/six_saferpay/models/saferpay_fields.rb, line 6 def initialize(token: ) @token = token end
Public Instance Methods
to_hash()
click to toggle source
# File lib/six_saferpay/models/saferpay_fields.rb, line 10 def to_hash hash = Hash.new hash.merge!(token: @token) if @token hash end
Also aliased as: to_h