Class: CarinForBlueButtonTestKit::CARIN4BBV110::OrganizationReadTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
ReadTest
Defined in:
lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/read_test.rb

Instance Method Summary collapse

Methods included from ReadTest

#all_scratch_resources, #bad_resource_id_message, #no_resources_skip_message, #perform_read_test, #read_and_validate, #readable_resources, #resource_class, #resource_id

Instance Method Details

#resource_idsObject



28
29
30
31
# File 'lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/read_test.rb', line 28

def resource_ids
  return [] unless respond_to? :additional_organization_ids
  additional_organization_ids.split(',').map(&:strip)
end

#resource_typeObject



20
21
22
# File 'lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/read_test.rb', line 20

def resource_type
  'Organization'
end

#scratch_resourcesObject



24
25
26
# File 'lib/carin_for_blue_button_test_kit/generated/v1.1.0/organization/read_test.rb', line 24

def scratch_resources
  scratch[:organization_resources] ||= {}
end