Method: ActiveMerchant::Billing::Model#initialize
- Defined in:
- lib/active_merchant/billing/model.rb
permalink #initialize(attributes = {}) ⇒ Model
Returns a new instance of Model.
10 11 12 13 14 |
# File 'lib/active_merchant/billing/model.rb', line 10 def initialize(attributes = {}) attributes.each do |key, value| send("#{key}=", value) end end |