class Einvoice::Provider
Attributes
Public Class Methods
Source
# 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
Public Instance Methods
Source
# File lib/einvoice/provider.rb, line 13 def config conf = {} Configuration::VALID_OPTIONS_KEYS.each do |key| conf[key] = send key end conf end