Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When @boxscore is nil, things in Game break #1

Closed
H12 opened this issue Oct 15, 2015 · 0 comments
Closed

When @boxscore is nil, things in Game break #1

H12 opened this issue Oct 15, 2015 · 0 comments

Comments

@H12
Copy link
Owner

H12 commented Oct 15, 2015

For some reason MLB occasionally makes game paths with valid game id's that don't correspond to an existing game, and therefore have no boxscore attributes. This means that when a new Game is created, it's private @Boxscore attribute is set to nil. This screws with methods that expect boxscore to actually be a thing.

@H12 H12 closed this as completed Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant