Sha256: 69d39f8fff3edce6167a72a9a61f2bd5f7f206e783e359553328803f2a2ad7c9
Contents?: true
Size: 823 Bytes
Versions: 1
Compression:
Stored size: 823 Bytes
Contents
module Cesri class Configuration attr_accessor :sandbox_reception_url attr_accessor :sandbox_authorization_url attr_accessor :recepcion_url attr_accessor :authorization_url attr_accessor :sandbox def initialize @sandbox_reception_url = 'https://celcer.sri.gob.ec/comprobantes-electronicos-ws/RecepcionComprobantesOffline?wsdl' @sandbox_authorization_url = 'https://celcer.sri.gob.ec/comprobantes-electronicos-ws/AutorizacionComprobantesOffline?wsdl' @recepcion_url = 'TODO' @authorization_url = 'TODO' @sandbox = true end def self.configuration @configuration ||= Configuration.new end def self.configuration=(config) @configuration = config end def self.configure yield configuration if block_given? end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cesri-0.1.0 | lib/cesri/configuration.rb |