Class: Believe::Models::TurningPoint
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Believe::Models::TurningPoint
- Defined in:
- lib/believe/models/turning_point.rb
Instance Attribute Summary collapse
-
#character_involved ⇒ String?
Character ID who was central to this moment.
-
#description ⇒ String
What happened.
-
#emotional_impact ⇒ String
How this affected the team emotionally.
-
#minute ⇒ Integer
Minute of the match.
Instance Method Summary collapse
-
#initialize(description:, emotional_impact:, minute:, character_involved: nil) ⇒ Object
constructor
A pivotal moment in a match.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(description:, emotional_impact:, minute:, character_involved: nil) ⇒ Object
A pivotal moment in a match.
|
|
# File 'lib/believe/models/turning_point.rb', line 30
|
Instance Attribute Details
#character_involved ⇒ String?
Character ID who was central to this moment
28 |
# File 'lib/believe/models/turning_point.rb', line 28 optional :character_involved, String, nil?: true |
#description ⇒ String
What happened
10 |
# File 'lib/believe/models/turning_point.rb', line 10 required :description, String |
#emotional_impact ⇒ String
How this affected the team emotionally
16 |
# File 'lib/believe/models/turning_point.rb', line 16 required :emotional_impact, String |
#minute ⇒ Integer
Minute of the match
22 |
# File 'lib/believe/models/turning_point.rb', line 22 required :minute, Integer |