Class: ApiBanking::Environment::RBL::PROD
- Inherits:
-
Struct
- Object
- Struct
- ApiBanking::Environment::RBL::PROD
- Defined in:
- lib/api_banking/environment/rbl/env.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
Returns the value of attribute client_secret.
-
#endpoints ⇒ Object
Returns the value of attribute endpoints.
-
#password ⇒ Object
Returns the value of attribute password.
-
#ssl_ca_file ⇒ Object
Returns the value of attribute ssl_ca_file.
-
#ssl_client_cert ⇒ Object
Returns the value of attribute ssl_client_cert.
-
#ssl_client_key ⇒ Object
Returns the value of attribute ssl_client_key.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize ⇒ PROD
constructor
A new instance of PROD.
Constructor Details
#initialize ⇒ PROD
Returns a new instance of PROD.
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/api_banking/environment/rbl/env.rb', line 19 def initialize(*) super self.ssl_ca_file ||= File.('./prd.pem', File.dirname(__FILE__)) self.endpoints = { SinglePayment: 'https://gateway.rblbank.com/prod/sb/rbl/v1/payments/corp/payment', AccountStatement: 'https://gateway.rblbank.com/prod/sb/rbl/v1/cas/statement', GetAccountBalance: 'https://gateway.rblbank.com/prod/sb/rbl/v1/accounts/balance/query', GetPaymentStatus: 'https://gateway.rblbank.com/prod/sb/rbl/v1/payments/corp/payment/query' } end |
Instance Attribute Details
#client_id ⇒ Object
Returns the value of attribute client_id
18 19 20 |
# File 'lib/api_banking/environment/rbl/env.rb', line 18 def client_id @client_id end |
#client_secret ⇒ Object
Returns the value of attribute client_secret
18 19 20 |
# File 'lib/api_banking/environment/rbl/env.rb', line 18 def client_secret @client_secret end |
#endpoints ⇒ Object
Returns the value of attribute endpoints
18 19 20 |
# File 'lib/api_banking/environment/rbl/env.rb', line 18 def endpoints @endpoints end |
#password ⇒ Object
Returns the value of attribute password
18 19 20 |
# File 'lib/api_banking/environment/rbl/env.rb', line 18 def password @password end |
#ssl_ca_file ⇒ Object
Returns the value of attribute ssl_ca_file
18 19 20 |
# File 'lib/api_banking/environment/rbl/env.rb', line 18 def ssl_ca_file @ssl_ca_file end |
#ssl_client_cert ⇒ Object
Returns the value of attribute ssl_client_cert
18 19 20 |
# File 'lib/api_banking/environment/rbl/env.rb', line 18 def ssl_client_cert @ssl_client_cert end |
#ssl_client_key ⇒ Object
Returns the value of attribute ssl_client_key
18 19 20 |
# File 'lib/api_banking/environment/rbl/env.rb', line 18 def ssl_client_key @ssl_client_key end |
#user ⇒ Object
Returns the value of attribute user
18 19 20 |
# File 'lib/api_banking/environment/rbl/env.rb', line 18 def user @user end |