class Github::Issues::Labels
def create(*args)
github.issues.labels.create name: 'API', color: 'FFFFFF'
github = Github.new user: 'user-name', repo: 'repo-name'
= Examples
:color - Required string - 6 character hex code, without leading #
:name - Required string
= Inputs
Create a label
def create(*args) arguments(args, :required => [:user, :repo]) do sift VALID_LABEL_INPUTS assert_required VALID_LABEL_INPUTS end post_request("/repos/#{user}/#{repo}/labels", arguments.params) end