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

Update a TournamentCode #48

Merged
merged 12 commits into from
Nov 3, 2015
Merged

Update a TournamentCode #48

merged 12 commits into from
Nov 3, 2015

Conversation

oeN
Copy link
Collaborator

@oeN oeN commented Nov 3, 2015

Added code to get the details of a TournamentCode.
Added code to update a TournamentCode and set the game details.

  • allowedParticipants
  • spectatorType
  • pickType
  • mapType

@pyro2927
Copy link

pyro2927 commented Nov 3, 2015

Is this for the V1 or V2 tournament API?

nicolaracco added a commit that referenced this pull request Nov 3, 2015
Update a TournamentCode
@nicolaracco nicolaracco merged commit 2d21a9f into mikamai:master Nov 3, 2015
instance_of(Hash)
)
expect(request).to receive(:perform_request).once.ordered.with(instance_of(String)).and_return(fixture)
request.update_code "CODE-FOR-TEST", { allowed_participants: [1,2,3,4,5,6,7,8,9,10] }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be allowedSummonerIds: { participants: [1,2,3,4,5,6,7,8,9,10] }? Just comparing it against https://developer.riotgames.com/api/methods#!/1057/3647

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

Successfully merging this pull request may close these issues.

3 participants