Class: VoucherifySdk::QualificationsApi

Inherits:
Object
  • Object
show all
Defined in:
lib/VoucherifySdk/api/qualifications_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ QualificationsApi

Returns a new instance of QualificationsApi.



19
20
21
# File 'lib/VoucherifySdk/api/qualifications_api.rb', line 19

def initialize(api_client = ApiClient.default)
  @api_client = api_client
end

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



17
18
19
# File 'lib/VoucherifySdk/api/qualifications_api.rb', line 17

def api_client
  @api_client
end

Instance Method Details

#check_eligibility(opts = {}) ⇒ QualificationsCheckEligibilityResponseBody

Check Eligibility

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

Returns:



27
28
29
30
# File 'lib/VoucherifySdk/api/qualifications_api.rb', line 27

def check_eligibility(opts = {})
  data, _status_code, _headers = check_eligibility_with_http_info(opts)
  data
end