Class: DaVinciPASTestKit::AbstractResponseAttest

Inherits:
Inferno::Test
  • Object
show all
Defined in:
lib/davinci_pas_test_kit/client/abstract_response_attest.rb

Overview

abstract test, needs to be extended to include a version-specific URLs module

Instance Method Summary collapse

Instance Method Details

#attest_messageObject



17
18
19
# File 'lib/davinci_pas_test_kit/client/abstract_response_attest.rb', line 17

def attest_message
  config.options[:attest_message]
end

#workflow_nameObject



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/davinci_pas_test_kit/client/abstract_response_attest.rb', line 21

def workflow_name
  case workflow_tag
  when APPROVAL_WORKFLOW_TAG
    'Approval'
  when DENIAL_WORKFLOW_TAG
    'Denial'
  when PENDED_WORKFLOW_TAG
    'Pended'
  when MODIFICATION_WORKFLOW_TAG
    'Payer Modification'
  when MUST_SUPPORT_WORKFLOW_TAG
    'Must Support'
  when OPERATION_FAILURE_WORKFLOW_TAG
    'Operation Failure'
  when PROCESSING_ERROR_WORKFLOW_TAG
    'Processing Error'
  end
end

#workflow_tagObject



13
14
15
# File 'lib/davinci_pas_test_kit/client/abstract_response_attest.rb', line 13

def workflow_tag
  config.options[:workflow_tag]
end