class ChgkRating::Models::Recap
Public Class Methods
new(season_id_or_hash, params = {})
click to toggle source
Calls superclass method
ChgkRating::Models::Base::new
# File lib/chgk_rating/models/recap.rb, line 7 def initialize(season_id_or_hash, params = {}) @team_id = extract_id_from params[:team] super end
Private Instance Methods
api_path()
click to toggle source
# File lib/chgk_rating/models/recap.rb, line 14 def api_path "teams/#{@team_id}/recaps" end