Skip to content

Gists API #5

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

Closed
wants to merge 17 commits into from
Closed

Gists API #5

wants to merge 17 commits into from

Conversation

erivello
Copy link

@erivello erivello commented Jul 8, 2012

added basic gist api

*/
public function getGist($id)
{
return $this->get('/gists/'.urlencode($id));
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove first /, as with it API will generate wrong url.

*/
public function update($id, $values)
{
return $this->patch('gists/'.urlencode($id), $values);
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be changed as $values can be only in similar format to the create() method.

@stloyd
Copy link
Contributor

stloyd commented Jul 10, 2012

After mentioned changes, please squash your commits, after that I will merge it. Thanks!

erivello added 2 commits July 11, 2012 15:44
added gist api to client

gist create api

create gist api refactor

delete gist api

gist api functional test for getList method

gist api refactor: renamed delete method in remove method

unit tests for gist api

functional test for gist api: get by id

comment fix for gist api

fix gist api documentation

added delete method to gist api

readme update

readme update

pull request fixes

list all public gists

small refactor

list starred gists

small refactor

doc fix

create gist method refactor

gist update method refactor

readme updated

small refactor

readme update
Conflicts:
	README.markdown
	lib/Github/Api/Gist.php
	test/Github/Tests/Api/GistTest.php
	test/Github/Tests/Functional/GistTest.php
@erivello
Copy link
Author

Hi. Any news?

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.

2 participants