class JeraPayment::Transfer

Public Instance Methods

custom_variables() click to toggle source
# File lib/jera_payment/models/transfer.rb, line 16
def custom_variables
  ActiveSupport::JSON.decode(self[:custom_variables]).map{ |item| item.deep_symbolize_keys } if self[:custom_variables]
end
custom_variables=(value) click to toggle source
# File lib/jera_payment/models/transfer.rb, line 12
def custom_variables=(value)
  write_attribute(:custom_variables, value&.to_json)
end