Class: SunatInvoice::Model
- Inherits:
-
Object
- Object
- SunatInvoice::Model
- Defined in:
- lib/sunat_invoice/model.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Model
constructor
A new instance of Model.
Constructor Details
#initialize(options = {}) ⇒ Model
Returns a new instance of Model.
5 6 7 8 9 |
# File 'lib/sunat_invoice/model.rb', line 5 def initialize( = {}) .each do |key, value| send("#{key}=", value) if respond_to?("#{key}=") end end |