Skip to content

Instantly share code, notes, and snippets.

@christophermlne
Created August 13, 2014 01:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save christophermlne/57bcd8756a8634eb1499 to your computer and use it in GitHub Desktop.
Save christophermlne/57bcd8756a8634eb1499 to your computer and use it in GitHub Desktop.
test of create_gist
test content
@christophermlne
Copy link
Author

created with:

$ self.create_gist(:description => 'test of create_gist', :public => true, :files => {"file1.txt" =>{:content=>'test content'}})

@christophermlne
Copy link
Author

created the client with:

$ client = Octokit::Client.new(:access_token => "ACCESS_TOKEN_GOES_HERE")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment