Class: Jumbotron::Canonical::ParticipantInput

Inherits:
Data
  • Object
show all
Defined in:
app/models/jumbotron/canonical.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(provider_identities:, team_name:, role:, score:, result:, team_nickname: nil, team_abbreviation: nil, record_summary: nil) ⇒ ParticipantInput

Returns a new instance of ParticipantInput.



29
30
31
32
33
34
35
36
37
38
39
40
# File 'app/models/jumbotron/canonical.rb', line 29

def initialize(
  provider_identities:,
  team_name:,
  role:,
  score:,
  result:,
  team_nickname: nil,
  team_abbreviation: nil,
  record_summary: nil
)
  super
end

Instance Attribute Details

#provider_identitiesObject (readonly)

Returns the value of attribute provider_identities

Returns:

  • (Object)

    the current value of provider_identities



19
20
21
# File 'app/models/jumbotron/canonical.rb', line 19

def provider_identities
  @provider_identities
end

#record_summaryObject (readonly)

Returns the value of attribute record_summary

Returns:

  • (Object)

    the current value of record_summary



19
20
21
# File 'app/models/jumbotron/canonical.rb', line 19

def record_summary
  @record_summary
end

#resultObject (readonly)

Returns the value of attribute result

Returns:

  • (Object)

    the current value of result



19
20
21
# File 'app/models/jumbotron/canonical.rb', line 19

def result
  @result
end

#roleObject (readonly)

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



19
20
21
# File 'app/models/jumbotron/canonical.rb', line 19

def role
  @role
end

#scoreObject (readonly)

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



19
20
21
# File 'app/models/jumbotron/canonical.rb', line 19

def score
  @score
end

#team_abbreviationObject (readonly)

Returns the value of attribute team_abbreviation

Returns:

  • (Object)

    the current value of team_abbreviation



19
20
21
# File 'app/models/jumbotron/canonical.rb', line 19

def team_abbreviation
  @team_abbreviation
end

#team_nameObject (readonly)

Returns the value of attribute team_name

Returns:

  • (Object)

    the current value of team_name



19
20
21
# File 'app/models/jumbotron/canonical.rb', line 19

def team_name
  @team_name
end

#team_nicknameObject (readonly)

Returns the value of attribute team_nickname

Returns:

  • (Object)

    the current value of team_nickname



19
20
21
# File 'app/models/jumbotron/canonical.rb', line 19

def team_nickname
  @team_nickname
end