class Github::Issues::Labels
def add(user_name, repo_name, issue_id, *args)
github.issues.labels.add 'user-name', 'repo-name', 'issue-id', 'label1', 'label2', ...
github = Github.new
= Examples
Add labels to an issue
def add(user_name, repo_name, issue_id, *args) params = args.extract_options! params['data'] = args unless args.empty? set :user => user_name, :repo => repo_name assert_presence_of user, repo, issue_id normalize! params post_request("/repos/#{user}/#{repo}/issues/#{issue_id}/labels", params) end