Class: SlimpayClient::Configuration
- Inherits:
-
Object
- Object
- SlimpayClient::Configuration
- Defined in:
- lib/slimpay_client/configuration.rb
Instance Attribute Summary collapse
-
#cancel_url ⇒ Object
Returns the value of attribute cancel_url.
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#creditor_reference ⇒ Object
Returns the value of attribute creditor_reference.
-
#failure_url ⇒ Object
Returns the value of attribute failure_url.
-
#notify_url ⇒ Object
Returns the value of attribute notify_url.
-
#password ⇒ Object
Returns the value of attribute password.
-
#return_url ⇒ Object
Returns the value of attribute return_url.
-
#sandbox ⇒ Object
Returns the value of attribute sandbox.
-
#success_url ⇒ Object
Returns the value of attribute success_url.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/slimpay_client/configuration.rb', line 15 def initialize @client_id = SlimpayClient::SANDBOX_CLIENT_ID @client_secret = SlimpayClient::SANDBOX_SECRET_ID @creditor_reference = SlimpayClient::SANDBOX_CREDITOR @sandbox = true @success_url = 'localhost:5000' @failure_url = 'localhost:5000' @cancel_url = 'localhost:5000' @return_url = 'localhost:5000' @notify_url = 'localhost:5000' end |
Instance Attribute Details
#cancel_url ⇒ Object
Returns the value of attribute cancel_url.
9 10 11 |
# File 'lib/slimpay_client/configuration.rb', line 9 def cancel_url @cancel_url end |
#client_id ⇒ Object
Returns the value of attribute client_id.
3 4 5 |
# File 'lib/slimpay_client/configuration.rb', line 3 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret.
4 5 6 |
# File 'lib/slimpay_client/configuration.rb', line 4 def client_secret @client_secret end |
#creditor_reference ⇒ Object
Returns the value of attribute creditor_reference.
5 6 7 |
# File 'lib/slimpay_client/configuration.rb', line 5 def creditor_reference @creditor_reference end |
#failure_url ⇒ Object
Returns the value of attribute failure_url.
8 9 10 |
# File 'lib/slimpay_client/configuration.rb', line 8 def failure_url @failure_url end |
#notify_url ⇒ Object
Returns the value of attribute notify_url.
11 12 13 |
# File 'lib/slimpay_client/configuration.rb', line 11 def notify_url @notify_url end |
#password ⇒ Object
Returns the value of attribute password.
13 14 15 |
# File 'lib/slimpay_client/configuration.rb', line 13 def password @password end |
#return_url ⇒ Object
Returns the value of attribute return_url.
10 11 12 |
# File 'lib/slimpay_client/configuration.rb', line 10 def return_url @return_url end |
#sandbox ⇒ Object
Returns the value of attribute sandbox.
6 7 8 |
# File 'lib/slimpay_client/configuration.rb', line 6 def sandbox @sandbox end |
#success_url ⇒ Object
Returns the value of attribute success_url.
7 8 9 |
# File 'lib/slimpay_client/configuration.rb', line 7 def success_url @success_url end |
#username ⇒ Object
Returns the value of attribute username.
12 13 14 |
# File 'lib/slimpay_client/configuration.rb', line 12 def username @username end |