module Facturapi
Constants
- VERSION
Public Class Methods
config()
click to toggle source
Returns the configuration object @return [Facturapi::Config] the configuration object
# File lib/facturapi/config.rb, line 32 def self.config @config ||= Config.new end
configure() { |config| ... }
click to toggle source
Configure the app defaults simply by doing
Facturapi.configure do |config| config.fact_rut '1-9' config.fact_user 'juan' config.fact_password 'perez' config.fact_port 9350 end
@yield [Facturapi::Config] The config object
# File lib/facturapi/config.rb, line 46 def self.configure yield(config) nil end