Class: Believe::Models::TeamValues

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/believe/models/team_values.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(primary_value:, secondary_values:, team_motto:) ⇒ Object

Core values that define a team’s culture.

Parameters:

  • primary_value (String)

    The team’s primary guiding value

  • secondary_values (Array<String>)

    Supporting values

  • team_motto (String)

    Team’s motivational motto



# File 'lib/believe/models/team_values.rb', line 24

Instance Attribute Details

#primary_valueString

The team’s primary guiding value

Returns:

  • (String)


10
# File 'lib/believe/models/team_values.rb', line 10

required :primary_value, String

#secondary_valuesArray<String>

Supporting values

Returns:

  • (Array<String>)


16
# File 'lib/believe/models/team_values.rb', line 16

required :secondary_values, ::Believe::Internal::Type::ArrayOf[String]

#team_mottoString

Team’s motivational motto

Returns:

  • (String)


22
# File 'lib/believe/models/team_values.rb', line 22

required :team_motto, String