Class: Cielo::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/cielo/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
# File 'lib/cielo/configuration.rb', line 5

def initialize
  @host = "qasecommerce.cielo.com.br"
  @port = 443
  @path = "/servicos/ecommwsec.do"
end

Instance Attribute Details

#hostObject

Returns the value of attribute host.



3
4
5
# File 'lib/cielo/configuration.rb', line 3

def host
  @host
end

#loggerObject

Returns the value of attribute logger.



3
4
5
# File 'lib/cielo/configuration.rb', line 3

def logger
  @logger
end

#pathObject

Returns the value of attribute path.



3
4
5
# File 'lib/cielo/configuration.rb', line 3

def path
  @path
end

#portObject

Returns the value of attribute port.



3
4
5
# File 'lib/cielo/configuration.rb', line 3

def port
  @port
end