Class: Lol::League

Inherits:
Model
  • Object
show all
Defined in:
lib/lol/league.rb

Overview

Holds the representation of a League

Instance Attribute Summary collapse

Attributes inherited from Model

#raw

Method Summary

Methods inherited from Model

#initialize, #inspect

Constructor Details

This class inherits a constructor from Lol::Model

Instance Attribute Details

#entriesString

Returns summoners / teams in queue.

Returns:

  • (String)

    summoners / teams in queue



18
19
20
# File 'lib/lol/league.rb', line 18

def entries
  @entries
end

#nameString

Returns name of league.

Returns:

  • (String)

    name of league



6
7
8
# File 'lib/lol/league.rb', line 6

def name
  @name
end

#participant_idString

Returns summoner id of league participant.

Returns:

  • (String)

    summoner id of league participant



22
23
24
# File 'lib/lol/league.rb', line 22

def participant_id
  @participant_id
end

#queueString

Returns type of queue.

Returns:

  • (String)

    type of queue



14
15
16
# File 'lib/lol/league.rb', line 14

def queue
  @queue
end

#tierString

Returns tier of league.

Returns:

  • (String)

    tier of league



10
11
12
# File 'lib/lol/league.rb', line 10

def tier
  @tier
end