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.



23
24
25
26
27
28
29
30
31
# File 'lib/api_banking/environment/ybl/env.rb', line 23

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

Instance Attribute Details

#client_idObject

Returns the value of attribute client_id

Returns:

  • (Object)

    the current value of client_id



22
23
24
# File 'lib/api_banking/environment/ybl/env.rb', line 22

def client_id
  @client_id
end

#client_secretObject

Returns the value of attribute client_secret

Returns:

  • (Object)

    the current value of client_secret



22
23
24
# File 'lib/api_banking/environment/ybl/env.rb', line 22

def client_secret
  @client_secret
end

#endpointsObject

Returns the value of attribute endpoints

Returns:

  • (Object)

    the current value of endpoints



22
23
24
# File 'lib/api_banking/environment/ybl/env.rb', line 22

def endpoints
  @endpoints
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



22
23
24
# File 'lib/api_banking/environment/ybl/env.rb', line 22

def password
  @password
end

#ssl_ca_fileObject

Returns the value of attribute ssl_ca_file

Returns:

  • (Object)

    the current value of ssl_ca_file



22
23
24
# File 'lib/api_banking/environment/ybl/env.rb', line 22

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



22
23
24
# File 'lib/api_banking/environment/ybl/env.rb', line 22

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



22
23
24
# File 'lib/api_banking/environment/ybl/env.rb', line 22

def ssl_client_key
  @ssl_client_key
end

#ssl_client_key_passObject

Returns the value of attribute ssl_client_key_pass

Returns:

  • (Object)

    the current value of ssl_client_key_pass



22
23
24
# File 'lib/api_banking/environment/ybl/env.rb', line 22

def ssl_client_key_pass
  @ssl_client_key_pass
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



22
23
24
# File 'lib/api_banking/environment/ybl/env.rb', line 22

def user
  @user
end