github icon indicating copy to clipboard operation
github copied to clipboard

Is there a way to directly send a request to the Github API?

Open devill opened this issue 8 years ago • 2 comments
trafficstars

I need to use the PATCH /user/repository_invitations/:invitation_id endpoint ASAP. My question is if there is a way to directly send a message like that without modifying the github_api gem? If not, where should I get started with the pull request? I quickly looked around in the source code, but I felt a bit lost.

devill avatar Aug 26 '17 21:08 devill

Hey, the client folder matches exactly the structure of actual github api which seems you know how to find. Please see if this method exists, if it doesn't then I would welcome PR implementing it. Regarding your ASAP, i'm currently enjoying holidays with my family and I don't have time to implement anything immediately. If you need it quick then you will need to put some work in and I will review/merge.

piotrmurach avatar Aug 27 '17 09:08 piotrmurach

Have a nice vacation :) I'll do my best to build the necessary pull request.

devill avatar Aug 27 '17 11:08 devill