Class: Assistant::TechnicalSupport::CaseReplay::Episode

Inherits:
Data
  • Object
show all
Defined in:
app/services/assistant/technical_support/case_replay/episode.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(product_family: nil, issue_summary: nil, opening_fragment_ids: [], follow_up_fragment_ids: [], outcome_fragment_ids: [], verified_outcome: nil, required_facts: [], safety_requirements: [], article_search_query: nil) ⇒ Episode

Returns a new instance of Episode.



15
16
17
18
19
20
21
# File 'app/services/assistant/technical_support/case_replay/episode.rb', line 15

def initialize(
  product_family: nil, issue_summary: nil, opening_fragment_ids: [],
  follow_up_fragment_ids: [], outcome_fragment_ids: [], verified_outcome: nil,
  required_facts: [], safety_requirements: [], article_search_query: nil
)
  super
end

Instance Attribute Details

#article_search_queryObject (readonly)

Returns the value of attribute article_search_query

Returns:

  • (Object)

    the current value of article_search_query



4
5
6
# File 'app/services/assistant/technical_support/case_replay/episode.rb', line 4

def article_search_query
  @article_search_query
end

#follow_up_fragment_idsObject (readonly)

Returns the value of attribute follow_up_fragment_ids

Returns:

  • (Object)

    the current value of follow_up_fragment_ids



4
5
6
# File 'app/services/assistant/technical_support/case_replay/episode.rb', line 4

def follow_up_fragment_ids
  @follow_up_fragment_ids
end

#issue_summaryObject (readonly)

Returns the value of attribute issue_summary

Returns:

  • (Object)

    the current value of issue_summary



4
5
6
# File 'app/services/assistant/technical_support/case_replay/episode.rb', line 4

def issue_summary
  @issue_summary
end

#opening_fragment_idsObject (readonly)

Returns the value of attribute opening_fragment_ids

Returns:

  • (Object)

    the current value of opening_fragment_ids



4
5
6
# File 'app/services/assistant/technical_support/case_replay/episode.rb', line 4

def opening_fragment_ids
  @opening_fragment_ids
end

#outcome_fragment_idsObject (readonly)

Returns the value of attribute outcome_fragment_ids

Returns:

  • (Object)

    the current value of outcome_fragment_ids



4
5
6
# File 'app/services/assistant/technical_support/case_replay/episode.rb', line 4

def outcome_fragment_ids
  @outcome_fragment_ids
end

#product_familyObject (readonly)

Returns the value of attribute product_family

Returns:

  • (Object)

    the current value of product_family



4
5
6
# File 'app/services/assistant/technical_support/case_replay/episode.rb', line 4

def product_family
  @product_family
end

#required_factsObject (readonly)

Returns the value of attribute required_facts

Returns:

  • (Object)

    the current value of required_facts



4
5
6
# File 'app/services/assistant/technical_support/case_replay/episode.rb', line 4

def required_facts
  @required_facts
end

#safety_requirementsObject (readonly)

Returns the value of attribute safety_requirements

Returns:

  • (Object)

    the current value of safety_requirements



4
5
6
# File 'app/services/assistant/technical_support/case_replay/episode.rb', line 4

def safety_requirements
  @safety_requirements
end

#verified_outcomeObject (readonly)

Returns the value of attribute verified_outcome

Returns:

  • (Object)

    the current value of verified_outcome



4
5
6
# File 'app/services/assistant/technical_support/case_replay/episode.rb', line 4

def verified_outcome
  @verified_outcome
end