Class: DaVinciPlanNetTestKit::Generator::MustSupportMetadataExtractorUsCore3

Inherits:
Object
  • Object
show all
Defined in:
lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(profile, must_supports) ⇒ MustSupportMetadataExtractorUsCore3

Returns a new instance of MustSupportMetadataExtractorUsCore3.



6
7
8
9
# File 'lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb', line 6

def initialize(profile, must_supports)
  self.profile = profile
  self.must_supports = must_supports
end

Instance Attribute Details

#must_supportsObject

Returns the value of attribute must_supports.



4
5
6
# File 'lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb', line 4

def must_supports
  @must_supports
end

#profileObject

Returns the value of attribute profile.



4
5
6
# File 'lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb', line 4

def profile
  @profile
end

Instance Method Details

#add_must_support_choicesObject



15
16
17
18
19
20
# File 'lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb', line 15

def add_must_support_choices
  choices = []
    # fill with Plan Net add_must_support_choices

  must_supports[:choices] = choices if choices.present?
end

#handle_special_casesObject



11
12
13
# File 'lib/davinci_plan_net_test_kit/generator/must_support_metadata_extractor_us_core_3.rb', line 11

def handle_special_cases
  add_must_support_choices
end