Method: USCoreTestKit::USCoreV700::SmartGranularScopesGroup.scopes_string

Defined in:
lib/us_core_test_kit/custom_groups/v7.0.0/smart_granular_scopes_group.rb

.scopes_string(scopes) ⇒ Object



11
12
13
14
15
16
# File 'lib/us_core_test_kit/custom_groups/v7.0.0/smart_granular_scopes_group.rb', line 11

def self.scopes_string(scopes)
  scopes
    .map { |scope| scope.delete_prefix 'patient/' }
    .map { |scope| "* `#{scope}`" }
    .join("\n")
end