Sha256: 103faf40869e9bea8e502c6a7e5b3d796355060bd1f230812c31a4f886cd9cef
Contents?: true
Size: 1.18 KB
Versions: 5
Compression:
Stored size: 1.18 KB
Contents
require 'fantasydata/base' module Fantasydata class PlayerDetail < Fantasydata::Base attr_reader :player_id, :team, :number, :first_name, :last_name, :position, :status, :height, :weight, :birth_date, :college, :experience, :fantasy_position, :active, :position_category, :name, :age, :experience_string, :birth_date_string, :photo_url, :bye_week, :upcoming_game_opponent, :upcoming_game_week, :short_name, :average_draft_position, :depth_position_category, :depth_position, :depth_order, :depth_display_order, :current_team, :college_draft_team, :college_draft_year, :college_draft_round, :college_draft_pick, :is_undrafted_free_agent, :height_feet, :height_inches, :upcoming_opponent_rank, :upcoming_opponent_position_rank, :current_status, :upcoming_salary # @return [Fantasydata::PlayerSeasonStat] def season_stats @season_stats ||= Fantasydata::PlayerSeasonStat.new(@attrs[:player_season]) end def latest_news @latest_news ||= map_collection(Fantasydata::News, :latest_news) end end end
Version data entries
5 entries across 5 versions & 1 rubygems