Class: Transbank::Webpay::Configuration
- Inherits:
-
Object
- Object
- Transbank::Webpay::Configuration
- Defined in:
- lib/transbank/webpay/configuration.rb
Instance Attribute Summary collapse
-
#cert_path ⇒ Object
Returns the value of attribute cert_path.
-
#commerce_code ⇒ Object
Returns the value of attribute commerce_code.
-
#http_options ⇒ Object
Returns the value of attribute http_options.
-
#key_path ⇒ Object
Returns the value of attribute key_path.
-
#rescue_exceptions ⇒ Object
Returns the value of attribute rescue_exceptions.
-
#server_cert_path ⇒ Object
Returns the value of attribute server_cert_path.
-
#wsdl_nullify_url ⇒ Object
Returns the value of attribute wsdl_nullify_url.
-
#wsdl_transaction_url ⇒ Object
Returns the value of attribute wsdl_transaction_url.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 20 21 22 23 24 25 |
# File 'lib/transbank/webpay/configuration.rb', line 17 def initialize @rescue_exceptions = [ Net::ReadTimeout, Timeout::Error, Errno::EINVAL, Errno::ECONNRESET, EOFError, Net::HTTPBadGateway, Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError, Net::ProtocolError ] @http_options = {} end |
Instance Attribute Details
#cert_path ⇒ Object
Returns the value of attribute cert_path.
9 10 11 |
# File 'lib/transbank/webpay/configuration.rb', line 9 def cert_path @cert_path end |
#commerce_code ⇒ Object
Returns the value of attribute commerce_code.
7 8 9 |
# File 'lib/transbank/webpay/configuration.rb', line 7 def commerce_code @commerce_code end |
#http_options ⇒ Object
Returns the value of attribute http_options.
15 16 17 |
# File 'lib/transbank/webpay/configuration.rb', line 15 def @http_options end |
#key_path ⇒ Object
Returns the value of attribute key_path.
10 11 12 |
# File 'lib/transbank/webpay/configuration.rb', line 10 def key_path @key_path end |
#rescue_exceptions ⇒ Object
Returns the value of attribute rescue_exceptions.
13 14 15 |
# File 'lib/transbank/webpay/configuration.rb', line 13 def rescue_exceptions @rescue_exceptions end |
#server_cert_path ⇒ Object
Returns the value of attribute server_cert_path.
11 12 13 |
# File 'lib/transbank/webpay/configuration.rb', line 11 def server_cert_path @server_cert_path end |
#wsdl_nullify_url ⇒ Object
Returns the value of attribute wsdl_nullify_url.
5 6 7 |
# File 'lib/transbank/webpay/configuration.rb', line 5 def wsdl_nullify_url @wsdl_nullify_url end |
#wsdl_transaction_url ⇒ Object
Returns the value of attribute wsdl_transaction_url.
4 5 6 |
# File 'lib/transbank/webpay/configuration.rb', line 4 def wsdl_transaction_url @wsdl_transaction_url end |