Class: Cielo::Configuration
- Inherits:
-
Object
- Object
- Cielo::Configuration
- Defined in:
- lib/cielo/configuration.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
Returns the value of attribute host.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#path ⇒ Object
Returns the value of attribute path.
-
#port ⇒ Object
Returns the value of attribute port.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/cielo/configuration.rb', line 3 def host @host end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/cielo/configuration.rb', line 3 def logger @logger end |
#path ⇒ Object
Returns the value of attribute path.
3 4 5 |
# File 'lib/cielo/configuration.rb', line 3 def path @path end |
#port ⇒ Object
Returns the value of attribute port.
3 4 5 |
# File 'lib/cielo/configuration.rb', line 3 def port @port end |