Class: ApiBanking::Environment::QG::DEMO

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDEMO

Returns a new instance of DEMO.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/api_banking/environment/qg/env.rb', line 5

def initialize(*)
  super
  self.endpoints = {
    FundsTransferByCustomerService:  'https://api.quantiguous.com/fundsTransferByCustomerServiceHttpService',
    FundsTransferByCustomerService2: 'https://api.quantiguous.com/fundsTransferByCustomerService2',
    InstantMoneyTransferService:     'https://api.quantiguous.com/IMTService',
    DomesticRemittanceByPartnerService:    'https://api.quantiguous.com/DomesticRemittanceByPartnerService', 
    NotificationService:             'https://api.quantiguous.com/NotificationService',
    InstantCreditService:            'https://api.quantiguous.com/InstantCreditService',
    PrepaidCardManagementService:    'https://api.quantiguous.com/PrepaidCardManagementService',
    PrepaidCardService:              'https://api.quantiguous.com/PrepaidCardService',
    SocialBankingService:            'https://api.quantiguous.com/SocialBankingService',
    VirtualCardManagementService:    'https://api.quantiguous.com/VirtualCardManagementService'
  }
end

Instance Attribute Details

#endpointsObject

Returns the value of attribute endpoints

Returns:

  • (Object)

    the current value of endpoints



4
5
6
# File 'lib/api_banking/environment/qg/env.rb', line 4

def endpoints
  @endpoints
end

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



4
5
6
# File 'lib/api_banking/environment/qg/env.rb', line 4

def password
  @password
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



4
5
6
# File 'lib/api_banking/environment/qg/env.rb', line 4

def user
  @user
end