lib/travis/client/annotation.rb in travis-1.6.8.travis.447.6 vs lib/travis/client/annotation.rb in travis-1.6.8.travis.449.6

- old
+ new

@@ -1,15 +1,21 @@ require 'travis/client' module Travis module Client class Annotation < Entity + include NotLoadable, States attributes :job_id, :provider_name, :status, :url, :description + alias state status # @!parse attr_reader :job has :job one :annotation many :annotations + + def inspect_info + "#{provider_name}: #{status}" + end end end end