Class: Jackchop::Travis
- Inherits:
-
Thor
- Object
- Thor
- Jackchop::Travis
- Includes:
- TravisAPI
- Defined in:
- lib/jackchop/cli/travis.rb
Constant Summary
Constants included from GithubAPI
Instance Method Summary collapse
Methods included from TravisAPI
Methods included from GithubAPI
#find_repo_name, #github, #github_auth_token
Instance Method Details
#enable ⇒ Object
7 8 9 10 11 |
# File 'lib/jackchop/cli/travis.rb', line 7 def enable repo_name = find_repo_name raise Thor::Error, "It does not appear that this repo exists on github. Have you pushed it?" if repo_name.nil? travis.repo(repo_name).enable end |