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

[Task] Build a Results parser that returns the results for a given round #11

Closed
jd-erreape opened this issue Aug 26, 2021 · 0 comments · Fixed by #12
Closed

[Task] Build a Results parser that returns the results for a given round #11

jd-erreape opened this issue Aug 26, 2021 · 0 comments · Fixed by #12

Comments

@jd-erreape
Copy link
Owner

jd-erreape commented Aug 26, 2021

We would like to create Quiniela::Parsers::Results class with a #round method that will provide the ability to return the results for a given round provided as an integer.

The format of the results will be a multidimensional array with 15 elements where each of the elements will be an array with:

[HomeTeam, AwayTeam, HomeResult, AwayResult]

The order of the elements in the array will be the same order they appear on the current Quiniela.

In case we try to provide results for a round that doesn’t exist, we will raise a Quiniela::Parsers::Result::NotFound error

jd-erreape added a commit that referenced this issue Aug 29, 2021
[Issues/11] [Task] Build a Results parser that returns the results for a given round
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant