Method: Einvoice::Provider#initialize

Defined in:
lib/einvoice/provider.rb

#initialize(options = {}) ⇒ Provider

Returns a new instance of Provider.



6
7
8
9
10
11
# File 'lib/einvoice/provider.rb', line 6

def initialize(options={})
  options = Einvoice.options.merge(options)
  Configuration::VALID_OPTIONS_KEYS.each do |key|
    send("#{key}=", options[key])
  end
end