class Github::Gists
def create_gist(params={})
}
}
'content' => 'String file contents'
'file1.txt' => {
'files' => {
'public' => true,
'description' => 'the description for this gist',
@github.gists.create_gist
@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_gist(params={}) _normalize_params_keys(params) _validate_inputs(REQUIRED_GIST_INPUTS, params) post("/gists", params) end