class JeraPayment::Withdrawal
Public Instance Methods
custom_variables()
click to toggle source
# File lib/jera_payment/models/withdrawal.rb, line 20 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/withdrawal.rb, line 16 def custom_variables=(value) write_attribute(:custom_variables, value&.to_json) end