Class: ApiBanking::Environment::RBL::PROD

Inherits:
Struct
  • Object
show all
Defined in:
lib/api_banking/environment/rbl/env.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePROD

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.expand_path('./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_idObject

Returns the value of attribute client_id

Returns:

  • (Object)

    the current value of client_id



18
19
20
# File 'lib/api_banking/environment/rbl/env.rb', line 18

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret

Returns:

  • (Object)

    the current value of client_secret



18
19
20
# File 'lib/api_banking/environment/rbl/env.rb', line 18

def client_secret
  @client_secret
end

#endpointsObject

Returns the value of attribute endpoints

Returns:

  • (Object)

    the current value of endpoints



18
19
20
# File 'lib/api_banking/environment/rbl/env.rb', line 18

def endpoints
  @endpoints
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



18
19
20
# File 'lib/api_banking/environment/rbl/env.rb', line 18

def password
  @password
end

#ssl_ca_fileObject

Returns the value of attribute ssl_ca_file

Returns:

  • (Object)

    the current value of 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_certObject

Returns the value of attribute ssl_client_cert

Returns:

  • (Object)

    the current value of 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_keyObject

Returns the value of attribute ssl_client_key

Returns:

  • (Object)

    the current value of ssl_client_key



18
19
20
# File 'lib/api_banking/environment/rbl/env.rb', line 18

def ssl_client_key
  @ssl_client_key
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



18
19
20
# File 'lib/api_banking/environment/rbl/env.rb', line 18

def user
  @user
end