Class: PlaylyfeClient::Leaderboard
- Inherits:
-
Object
- Object
- PlaylyfeClient::Leaderboard
- Defined in:
- lib/playlyfe_client/leaderboard.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#game ⇒ Object
readonly
Returns the value of attribute game.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#positions ⇒ Object
readonly
Returns the value of attribute positions.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#game ⇒ Object (readonly)
Returns the value of attribute game.
6 7 8 |
# File 'lib/playlyfe_client/leaderboard.rb', line 6 def game @game end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/playlyfe_client/leaderboard.rb', line 6 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/playlyfe_client/leaderboard.rb', line 6 def name @name end |
#positions ⇒ Object (readonly)
Returns the value of attribute positions.
6 7 8 |
# File 'lib/playlyfe_client/leaderboard.rb', line 6 def positions @positions end |
Class Method Details
.all(game) ⇒ Object
8 9 10 |
# File 'lib/playlyfe_client/leaderboard.rb', line 8 def self.all(game) game.leaderboards end |
Instance Method Details
#results ⇒ Object
16 17 18 |
# File 'lib/playlyfe_client/leaderboard.rb', line 16 def results positions end |
#table ⇒ Object
12 13 14 |
# File 'lib/playlyfe_client/leaderboard.rb', line 12 def table positions end |