class PlaylyfeClient::Game
Game
is 1:1 to connection, so only one instance per connection
Attributes
connection[R]
title[R]
Public Class Methods
new(conn)
click to toggle source
# File lib/playlyfe_client/game.rb, line 33 def initialize(conn) @connection=conn end
Public Instance Methods
actions()
click to toggle source
# File lib/playlyfe_client/game.rb, line 19 def actions [] end
events()
click to toggle source
# File lib/playlyfe_client/game.rb, line 27 def events [] end
leaderboards()
click to toggle source
# File lib/playlyfe_client/game.rb, line 23 def leaderboards [] end
players()
click to toggle source
# File lib/playlyfe_client/game.rb, line 15 def players [] end
to_hash()
click to toggle source
# File lib/playlyfe_client/game.rb, line 11 def to_hash @game_hash || {} end