Class: SecupayRuby::Configuration
- Inherits:
-
Object
- Object
- SecupayRuby::Configuration
- Defined in:
- lib/secupay_ruby/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#host ⇒ Object
Returns the value of attribute host.
-
#url_failure ⇒ Object
Returns the value of attribute url_failure.
-
#url_push ⇒ Object
Returns the value of attribute url_push.
-
#url_success ⇒ Object
Returns the value of attribute url_success.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 |
# File 'lib/secupay_ruby/configuration.rb', line 14 def initialize self.host = SecupayRuby::Host::PRODUCTION end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
8 9 10 |
# File 'lib/secupay_ruby/configuration.rb', line 8 def api_key @api_key end |
#host ⇒ Object
Returns the value of attribute host.
8 9 10 |
# File 'lib/secupay_ruby/configuration.rb', line 8 def host @host end |
#url_failure ⇒ Object
Returns the value of attribute url_failure.
8 9 10 |
# File 'lib/secupay_ruby/configuration.rb', line 8 def url_failure @url_failure end |
#url_push ⇒ Object
Returns the value of attribute url_push.
8 9 10 |
# File 'lib/secupay_ruby/configuration.rb', line 8 def url_push @url_push end |
#url_success ⇒ Object
Returns the value of attribute url_success.
8 9 10 |
# File 'lib/secupay_ruby/configuration.rb', line 8 def url_success @url_success end |