class Strutta::Points

Entries belong to a Strutta::Games object Instance methods found in Strutta::APIObject

Public Class Methods

new(id = nil, game) click to toggle source

Initializes the Strutta::Entries object

@param id [Integer, nil] Entry id @param game [Strutta::Games] Master Strutta::Games object @return [Strutta::Points] instantiated Strutta::Points object

# File lib/strutta-api/points.rb, line 10
def initialize(id = nil, game)
  @id = id
  @game = game
  @root_path = 'points'
end