Class: ActiveMerchant::Billing::Model
- Inherits:
-
Object
- Object
- ActiveMerchant::Billing::Model
- Includes:
- Compatibility::Model, Empty
- Defined in:
- lib/active_merchant/billing/model.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Model
constructor
A new instance of Model.
- #validate ⇒ Object
Methods included from Compatibility::Model
Constructor Details
#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 |
Instance Method Details
#validate ⇒ Object
16 17 18 |
# File 'lib/active_merchant/billing/model.rb', line 16 def validate {} end |