Class: ApiBanking::Environment::YBL::PRD

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePRD

Returns a new instance of PRD.



17
18
19
20
21
22
23
# File 'lib/api_banking/environment/ybl/env.rb', line 17

def initialize(*)
  super
  self.ssl_ca_file ||= File.expand_path('./prd.pem', File.dirname(__FILE__))
  self.endpoints = {
    FundsTransferByCustomerService:  'https://sky.yesbank.in:444/app/live/ssl/fundsTransferByCustomerService'
  }          
end

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id

Returns:

  • (Object)

    the current value of client_id



16
17
18
# File 'lib/api_banking/environment/ybl/env.rb', line 16

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret

Returns:

  • (Object)

    the current value of client_secret



16
17
18
# File 'lib/api_banking/environment/ybl/env.rb', line 16

def client_secret
  @client_secret
end

#endpointsObject

Returns the value of attribute endpoints

Returns:

  • (Object)

    the current value of endpoints



16
17
18
# File 'lib/api_banking/environment/ybl/env.rb', line 16

def endpoints
  @endpoints
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



16
17
18
# File 'lib/api_banking/environment/ybl/env.rb', line 16

def password
  @password
end

#ssl_ca_fileObject

Returns the value of attribute ssl_ca_file

Returns:

  • (Object)

    the current value of ssl_ca_file



16
17
18
# File 'lib/api_banking/environment/ybl/env.rb', line 16

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



16
17
18
# File 'lib/api_banking/environment/ybl/env.rb', line 16

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



16
17
18
# File 'lib/api_banking/environment/ybl/env.rb', line 16

def ssl_client_key
  @ssl_client_key
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



16
17
18
# File 'lib/api_banking/environment/ybl/env.rb', line 16

def user
  @user
end