class Github::Gists
def create(*args)
}
}
'content' => 'String file contents'
'file1.txt' => {
'files' => {
'public' => true,
'description' => 'the description for this gist',
github.gists.create
github = Github.new
= Examples
:content - Required string - File contents.
the value another required hash with parameters:
The key of which should be a required string filename and
:files - Required hash - Files that make up this gist.
:public - Required boolean
:description - Optional string
= Inputs
Create a gist
def create(*args) arguments(args) do assert_required REQUIRED_GIST_INPUTS end post_request("/gists", arguments.params) end