Module: DaVinciCRDTestKit::URLs
- Included in:
- AppointmentBookReceiveRequestTest, ClientCardDisplayAttest, EncounterDischargeReceiveRequestTest, EncounterStartReceiveRequestTest, HookRequestOptionalFieldsTest, HookRequestRequiredFieldsTest, HookRequestValidContextTest, HookRequestValidPrefetchTest, OrderDispatchReceiveRequestTest, OrderSelectReceiveRequestTest, OrderSignReceiveRequestTest, TokenPayloadTest
- Defined in:
- lib/davinci_crd_test_kit/urls.rb
Instance Method Summary collapse
- #appointment_book_url ⇒ Object
- #base_url ⇒ Object
- #encounter_discharge_url ⇒ Object
- #encounter_start_url ⇒ Object
- #order_dispatch_url ⇒ Object
- #order_select_url ⇒ Object
- #order_sign_url ⇒ Object
- #resume_fail_url ⇒ Object
- #resume_pass_url ⇒ Object
- #suite_id ⇒ Object
Instance Method Details
#appointment_book_url ⇒ Object
16 17 18 |
# File 'lib/davinci_crd_test_kit/urls.rb', line 16 def appointment_book_url @appointment_book_url ||= base_url + APPOINTMENT_BOOK_PATH end |
#base_url ⇒ Object
12 13 14 |
# File 'lib/davinci_crd_test_kit/urls.rb', line 12 def base_url @base_url ||= "#{Inferno::Application['base_url']}/custom/#{suite_id}" end |
#encounter_discharge_url ⇒ Object
24 25 26 |
# File 'lib/davinci_crd_test_kit/urls.rb', line 24 def encounter_discharge_url @encounter_discharge_url ||= base_url + ENCOUNTER_DISCHARGE_PATH end |
#encounter_start_url ⇒ Object
20 21 22 |
# File 'lib/davinci_crd_test_kit/urls.rb', line 20 def encounter_start_url @encounter_start_url ||= base_url + ENCOUNTER_START_PATH end |
#order_dispatch_url ⇒ Object
28 29 30 |
# File 'lib/davinci_crd_test_kit/urls.rb', line 28 def order_dispatch_url @order_dispatch_url ||= base_url + ORDER_DISPATCH_PATH end |
#order_select_url ⇒ Object
32 33 34 |
# File 'lib/davinci_crd_test_kit/urls.rb', line 32 def order_select_url @order_select_url ||= base_url + ORDER_SELECT_PATH end |
#order_sign_url ⇒ Object
36 37 38 |
# File 'lib/davinci_crd_test_kit/urls.rb', line 36 def order_sign_url @order_sign_url ||= base_url + ORDER_SIGN_PATH end |
#resume_fail_url ⇒ Object
44 45 46 |
# File 'lib/davinci_crd_test_kit/urls.rb', line 44 def resume_fail_url @resume_fail_url ||= base_url + RESUME_FAIL_PATH end |
#resume_pass_url ⇒ Object
40 41 42 |
# File 'lib/davinci_crd_test_kit/urls.rb', line 40 def resume_pass_url @resume_pass_url ||= base_url + RESUME_PASS_PATH end |
#suite_id ⇒ Object
48 49 50 |
# File 'lib/davinci_crd_test_kit/urls.rb', line 48 def suite_id self.class.suite.id end |