module MollieNLIDeal::Config
Attributes
partner_id
= numeric mollie partner id report_url
= url mollie calls to report transaction status return_url
= url Mollie redirects to after the transaction test_mode
= true/false Test mode parameter for Mollie.nl
partner_id
= numeric mollie partner id report_url
= url mollie calls to report transaction status return_url
= url Mollie redirects to after the transaction test_mode
= true/false Test mode parameter for Mollie.nl
partner_id
= numeric mollie partner id report_url
= url mollie calls to report transaction status return_url
= url Mollie redirects to after the transaction test_mode
= true/false Test mode parameter for Mollie.nl
partner_id
= numeric mollie partner id report_url
= url mollie calls to report transaction status return_url
= url Mollie redirects to after the transaction test_mode
= true/false Test mode parameter for Mollie.nl
Public Class Methods
# File lib/mollienl-ideal/config.rb, line 10 def init! @defaults = { :@partner_id => nil, :@report_url => nil, :@return_url => nil, :@test_mode => false } end
# File lib/mollienl-ideal/config.rb, line 19 def reset! @defaults.each { |k, v| instance_variable_set(k, v) } end
# File lib/mollienl-ideal/config.rb, line 23 def update! @defaults.each do |k, v| instance_variable_set(k, v) unless instance_variable_defined(k) end end