class Travis::CLI::Raw
Public Instance Methods
run(resource)
click to toggle source
# File lib/travis/cli/raw.rb, line 12 def run(resource) reply = session.get_raw(resource) json? ? say(reply.to_json) : pp(reply) rescue Travis::Client::NotFound error "resource not found" end