Sha256: 8d52b1f23247dc2a668b5e728a49b86fe976973cffbc3589571405119b2657f1
Contents?: true
Size: 482 Bytes
Versions: 27
Compression:
Stored size: 482 Bytes
Contents
module Einvoice class Provider attr_accessor *Configuration::VALID_OPTIONS_KEYS attr_accessor :provider def initialize(options={}) options = Einvoice.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end def config conf = {} Configuration::VALID_OPTIONS_KEYS.each do |key| conf[key] = send key end conf end include Connection end end
Version data entries
27 entries across 27 versions & 1 rubygems