Module: Stattleship

Defined in:
lib/stattleship/feats.rb,
lib/stattleship/teams.rb,
lib/stattleship/stats.rb,
lib/stattleship/games.rb,
lib/stattleship/params.rb,
lib/stattleship/models.rb,
lib/stattleship/version.rb,
lib/stattleship/players.rb,
lib/stattleship/endpoint.rb,
lib/stattleship/injuries.rb,
lib/stattleship/rankings.rb,
lib/stattleship/top_stats.rb,
lib/stattleship/penalties.rb,
lib/stattleship/game_logs.rb,
lib/stattleship/validators.rb,
lib/stattleship/models/team.rb,
lib/stattleship/models/game.rb,
lib/stattleship/hockey_teams.rb,
lib/stattleship/hockey_stats.rb,
lib/stattleship/hockey_games.rb,
lib/stattleship/models/venue.rb,
lib/stattleship/hockey_feats.rb,
lib/stattleship/stat_leaders.rb,
lib/stattleship/scoring_plays.rb,
lib/stattleship/client/client.rb,
lib/stattleship/models/league.rb,
lib/stattleship/models/season.rb,
lib/stattleship/models/player.rb,
lib/stattleship/models/injury.rb,
lib/stattleship/team_game_logs.rb,
lib/stattleship/football_stats.rb,
lib/stattleship/baseball_teams.rb,
lib/stattleship/baseball_games.rb,
lib/stattleship/models/penalty.rb,
lib/stattleship/models/ranking.rb,
lib/stattleship/football_teams.rb,
lib/stattleship/hockey_players.rb,
lib/stattleship/football_games.rb,
lib/stattleship/baseball_stats.rb,
lib/stattleship/football_feats.rb,
lib/stattleship/baseball_feats.rb,
lib/stattleship/hockey_injuries.rb,
lib/stattleship/total_team_stat.rb,
lib/stattleship/models/official.rb,
lib/stattleship/baseball_players.rb,
lib/stattleship/basketball_games.rb,
lib/stattleship/hockey_penalties.rb,
lib/stattleship/hockey_top_stats.rb,
lib/stattleship/basketball_stats.rb,
lib/stattleship/hockey_game_logs.rb,
lib/stattleship/football_players.rb,
lib/stattleship/basketball_teams.rb,
lib/stattleship/basketball_feats.rb,
lib/stattleship/baseball_injuries.rb,
lib/stattleship/total_player_stat.rb,
lib/stattleship/football_injuries.rb,
lib/stattleship/baseball_game_logs.rb,
lib/stattleship/baseball_penalties.rb,
lib/stattleship/football_penalties.rb,
lib/stattleship/basketball_players.rb,
lib/stattleship/football_top_stats.rb,
lib/stattleship/baseball_top_stats.rb,
lib/stattleship/football_game_logs.rb,
lib/stattleship/params/stats_params.rb,
lib/stattleship/params/query_params.rb,
lib/stattleship/params/feats_params.rb,
lib/stattleship/params/games_params.rb,
lib/stattleship/params/teams_params.rb,
lib/stattleship/models/scoring_play.rb,
lib/stattleship/hockey_stat_leaders.rb,
lib/stattleship/basketball_injuries.rb,
lib/stattleship/basketball_penalties.rb,
lib/stattleship/hockey_scoring_plays.rb,
lib/stattleship/client/configuration.rb,
lib/stattleship/basketball_game_logs.rb,
lib/stattleship/basketball_top_stats.rb,
lib/stattleship/team_outcome_streaks.rb,
lib/stattleship/baseball_stat_leaders.rb,
lib/stattleship/params/players_params.rb,
lib/stattleship/models/scoring_player.rb,
lib/stattleship/hockey_team_game_logs.rb,
lib/stattleship/football_stat_leaders.rb,
lib/stattleship/baseball_scoring_plays.rb,
lib/stattleship/params/injuries_params.rb,
lib/stattleship/params/rankings_params.rb,
lib/stattleship/hockey_total_team_stat.rb,
lib/stattleship/football_scoring_plays.rb,
lib/stattleship/baseball_team_game_logs.rb,
lib/stattleship/params/game_logs_params.rb,
lib/stattleship/params/penalties_params.rb,
lib/stattleship/params/top_stats_params.rb,
lib/stattleship/params/game_time_params.rb,
lib/stattleship/football_team_game_logs.rb,
lib/stattleship/models/playing_position.rb,
lib/stattleship/basketball_stat_leaders.rb,
lib/stattleship/validators/on_validator.rb,
lib/stattleship/basketball_scoring_plays.rb,
lib/stattleship/football_total_team_stat.rb,
lib/stattleship/baseball_total_team_stat.rb,
lib/stattleship/hockey_total_player_stat.rb,
lib/stattleship/formatters/stat_formatter.rb,
lib/stattleship/basketball_team_game_logs.rb,
lib/stattleship/validators/feat_validator.rb,
lib/stattleship/validators/stat_validator.rb,
lib/stattleship/validators/rank_validator.rb,
lib/stattleship/validators/type_validator.rb,
lib/stattleship/validators/base_validator.rb,
lib/stattleship/validators/page_validator.rb,
lib/stattleship/validators/week_validator.rb,
lib/stattleship/football_total_player_stat.rb,
lib/stattleship/baseball_total_player_stat.rb,
lib/stattleship/params/hockey_feats_params.rb,
lib/stattleship/params/hockey_teams_params.rb,
lib/stattleship/params/stat_leaders_params.rb,
lib/stattleship/params/hockey_games_params.rb,
lib/stattleship/params/hockey_stats_params.rb,
lib/stattleship/models/team_outcome_streak.rb,
lib/stattleship/validators/since_validator.rb,
lib/stattleship/validators/level_validator.rb,
lib/stattleship/validators/place_validator.rb,
lib/stattleship/basketball_total_team_stat.rb,
lib/stattleship/params/scoring_plays_params.rb,
lib/stattleship/validators/status_validator.rb,
lib/stattleship/validators/ranked_validator.rb,
lib/stattleship/hockey_team_outcome_streaks.rb,
lib/stattleship/basketball_total_player_stat.rb,
lib/stattleship/params/baseball_feats_params.rb,
lib/stattleship/params/baseball_games_params.rb,
lib/stattleship/params/football_teams_params.rb,
lib/stattleship/params/team_game_logs_params.rb,
lib/stattleship/params/hockey_players_params.rb,
lib/stattleship/params/football_feats_params.rb,
lib/stattleship/params/baseball_teams_params.rb,
lib/stattleship/params/football_stats_params.rb,
lib/stattleship/params/football_games_params.rb,
lib/stattleship/params/baseball_stats_params.rb,
lib/stattleship/validators/game_id_validator.rb,
lib/stattleship/validators/current_validator.rb,
lib/stattleship/validators/ranking_validator.rb,
lib/stattleship/validators/team_id_validator.rb,
lib/stattleship/validators/outcome_validator.rb,
lib/stattleship/validators/penalty_validator.rb,
lib/stattleship/football_team_outcome_streaks.rb,
lib/stattleship/params/hockey_injuries_params.rb,
lib/stattleship/params/total_team_stat_params.rb,
lib/stattleship/baseball_team_outcome_streaks.rb,
lib/stattleship/validators/level_up_validator.rb,
lib/stattleship/validators/per_page_validator.rb,
lib/stattleship/params/basketball_games_params.rb,
lib/stattleship/params/football_players_params.rb,
lib/stattleship/params/baseball_players_params.rb,
lib/stattleship/params/basketball_stats_params.rb,
lib/stattleship/params/basketball_feats_params.rb,
lib/stattleship/params/hockey_game_logs_params.rb,
lib/stattleship/params/basketball_teams_params.rb,
lib/stattleship/params/hockey_top_stats_params.rb,
lib/stattleship/params/hockey_penalties_params.rb,
lib/stattleship/validators/player_id_validator.rb,
lib/stattleship/validators/season_id_validator.rb,
lib/stattleship/basketball_team_outcome_streaks.rb,
lib/stattleship/params/football_injuries_params.rb,
lib/stattleship/params/baseball_injuries_params.rb,
lib/stattleship/params/hockey_team_stats_params.rb,
lib/stattleship/params/total_player_stat_params.rb,
lib/stattleship/validators/birth_date_validator.rb,
lib/stattleship/params/basketball_players_params.rb,
lib/stattleship/params/football_penalties_params.rb,
lib/stattleship/params/baseball_top_stats_params.rb,
lib/stattleship/params/football_top_stats_params.rb,
lib/stattleship/params/baseball_game_logs_params.rb,
lib/stattleship/params/baseball_penalties_params.rb,
lib/stattleship/params/football_game_logs_params.rb,
lib/stattleship/params/basketball_injuries_params.rb,
lib/stattleship/params/football_team_stats_params.rb,
lib/stattleship/params/hockey_stat_leaders_params.rb,
lib/stattleship/params/baseball_team_stats_params.rb,
lib/stattleship/validators/scoring_type_validator.rb,
lib/stattleship/params/basketball_game_logs_params.rb,
lib/stattleship/params/hockey_scoring_plays_params.rb,
lib/stattleship/params/team_outcome_streaks_params.rb,
lib/stattleship/params/basketball_penalties_params.rb,
lib/stattleship/params/basketball_top_stats_params.rb,
lib/stattleship/validators/streak_length_validator.rb,
lib/stattleship/validators/interval_type_validator.rb,
lib/stattleship/params/football_stat_leaders_params.rb,
lib/stattleship/params/baseball_stat_leaders_params.rb,
lib/stattleship/params/basketball_team_stats_params.rb,
lib/stattleship/params/hockey_team_game_logs_params.rb,
lib/stattleship/validators/scoring_method_validator.rb,
lib/stattleship/params/hockey_total_team_stat_params.rb,
lib/stattleship/params/football_scoring_plays_params.rb,
lib/stattleship/params/baseball_scoring_plays_params.rb,
lib/stattleship/params/baseball_team_game_logs_params.rb,
lib/stattleship/params/basketball_stat_leaders_params.rb,
lib/stattleship/params/football_team_game_logs_params.rb,
lib/stattleship/params/hockey_total_player_stat_params.rb,
lib/stattleship/params/basketball_scoring_plays_params.rb,
lib/stattleship/params/baseball_total_team_stat_params.rb,
lib/stattleship/params/football_total_team_stat_params.rb,
lib/stattleship/params/basketball_team_game_logs_params.rb,
lib/stattleship/params/baseball_total_player_stat_params.rb,
lib/stattleship/params/football_total_player_stat_params.rb,
lib/stattleship/params/basketball_total_team_stat_params.rb,
lib/stattleship/params/hockey_team_outcome_streaks_params.rb,
lib/stattleship/params/basketball_total_player_stat_params.rb,
lib/stattleship/params/baseball_team_outcome_streaks_params.rb,
lib/stattleship/params/football_team_outcome_streaks_params.rb,
lib/stattleship/params/basketball_team_outcome_streaks_params.rb

Defined Under Namespace

Modules: BaseballFeatsRepresenter, BaseballGameLogsRepresenter, BaseballGamesRepresenter, BaseballInjuriesRepresenter, BaseballPenaltiesRepresenter, BaseballPlayersRepresenter, BaseballScoringPlaysRepresenter, BaseballStatLeadersRepresenter, BaseballStatsRepresenter, BaseballTeamGameLogsRepresenter, BaseballTeamOutcomeStreaksRepresenter, BaseballTeamsRepresenter, BaseballTopStatsRepresenter, BaseballTotalPlayerStatRepresenter, BaseballTotalTeamStatRepresenter, BasketballFeatsRepresenter, BasketballGameLogsRepresenter, BasketballGamesRepresenter, BasketballInjuriesRepresenter, BasketballPenaltiesRepresenter, BasketballPlayersRepresenter, BasketballScoringPlaysRepresenter, BasketballStatLeadersRepresenter, BasketballStatsRepresenter, BasketballTeamGameLogsRepresenter, BasketballTeamOutcomeStreaksRepresenter, BasketballTeamsRepresenter, BasketballTopStatsRepresenter, BasketballTotalPlayerStatRepresenter, BasketballTotalTeamStatRepresenter, FeatsRepresenter, FootballFeatsRepresenter, FootballGameLogsRepresenter, FootballGamesRepresenter, FootballInjuriesRepresenter, FootballPenaltiesRepresenter, FootballPlayersRepresenter, FootballScoringPlaysRepresenter, FootballStatLeadersRepresenter, FootballStatsRepresenter, FootballTeamGameLogsRepresenter, FootballTeamOutcomeStreaksRepresenter, FootballTeamsRepresenter, FootballTopStatsRepresenter, FootballTotalPlayerStatRepresenter, FootballTotalTeamStatRepresenter, GameLogsRepresenter, GamesRepresenter, HockeyFeatsRepresenter, HockeyGameLogsRepresenter, HockeyGamesRepresenter, HockeyInjuriesRepresenter, HockeyPenaltiesRepresenter, HockeyPlayersRepresenter, HockeyScoringPlaysRepresenter, HockeyStatLeadersRepresenter, HockeyStatsRepresenter, HockeyTeamGameLogsRepresenter, HockeyTeamOutcomeStreaksRepresenter, HockeyTeamsRepresenter, HockeyTopStatsRepresenter, HockeyTotalPlayerStatRepresenter, HockeyTotalTeamStatRepresenter, InjuriesRepresenter, Models, Params, PenaltiesRepresenter, PlayersRepresenter, RankingsRepresenter, Ruby, ScoringPlaysRepresenter, StatLeadersRepresenter, StatsRepresenter, TeamGameLogsRepresenter, TeamOutcomeStreaksRepresenter, TeamsRepresenter, TopStatsRepresenter, TotalPlayerStatRepresenter, TotalTeamStatRepresenter, Validators Classes: BaseballFeats, BaseballGameLog, BaseballGameLogs, BaseballGames, BaseballInjuries, BaseballPenalties, BaseballPlayers, BaseballScoringPlays, BaseballStatLeaders, BaseballStats, BaseballTeamGameLog, BaseballTeamGameLogs, BaseballTeamOutcomeStreaks, BaseballTeams, BaseballTopStats, BaseballTotalPlayerStat, BaseballTotalTeamStat, BasketballFeats, BasketballGameLog, BasketballGameLogs, BasketballGames, BasketballInjuries, BasketballPenalties, BasketballPlayers, BasketballScoringPlays, BasketballStatLeaders, BasketballStats, BasketballTeamGameLog, BasketballTeamGameLogs, BasketballTeamOutcomeStreaks, BasketballTeams, BasketballTopStats, BasketballTotalPlayerStat, BasketballTotalTeamStat, Client, Configuration, Endpoint, Feat, Feats, FootballFeats, FootballGameLog, FootballGameLogs, FootballGames, FootballInjuries, FootballPenalties, FootballPlayers, FootballScoringPlays, FootballStatLeaders, FootballStats, FootballTeamGameLog, FootballTeamGameLogs, FootballTeamOutcomeStreaks, FootballTeams, FootballTopStats, FootballTotalPlayerStat, FootballTotalTeamStat, GameLog, GameLogs, Games, HockeyFeats, HockeyGameLog, HockeyGameLogs, HockeyGames, HockeyInjuries, HockeyPenalties, HockeyPenalty, HockeyPlayers, HockeyScoringPlays, HockeyStatLeaders, HockeyStats, HockeyTeamGameLog, HockeyTeamGameLogs, HockeyTeamOutcomeStreaks, HockeyTeams, HockeyTopStats, HockeyTotalPlayerStat, HockeyTotalTeamStat, Injuries, Leader, Penalties, Players, Rankings, ScoringPlays, Stat, StatFormatter, StatLeaders, Stats, TeamGameLog, TeamGameLogs, TeamOutcomeStreaks, Teams, TopStat, TopStats, TotalPlayerStat, TotalTeamStat

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration


3
4
5
# File 'lib/stattleship/client/configuration.rb', line 3

def configuration
  @configuration
end

Class Method Details

.configureObject


5
6
7
8
9
10
11
# File 'lib/stattleship/client/configuration.rb', line 5

def configure
  if block_given?
    yield configuration
  end

  configuration
end