Sha256: df9303a3b5505dcee1b120b8704b8769df566d45768908b80e6f73156488798e

Contents?: true

Size: 400 Bytes

Versions: 176

Compression:

Stored size: 400 Bytes

Contents

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

Version data entries

176 entries across 176 versions & 2 rubygems

Version Path
travis-1.8.9.travis.875.3 lib/travis/client/annotation.rb
travis-1.8.9.travis.874.3 lib/travis/client/annotation.rb
travis-1.8.9.travis.867.4 lib/travis/client/annotation.rb
travis-1.8.9.travis.853.4 lib/travis/client/annotation.rb
travis-1.8.9.travis.844.4 lib/travis/client/annotation.rb
travis-1.8.9.travis.837.4 lib/travis/client/annotation.rb
travis-1.8.8 lib/travis/client/annotation.rb
travis-1.8.9.travis.826.4 lib/travis/client/annotation.rb
travis-1.8.7.travis.823.4 lib/travis/client/annotation.rb
travis-1.8.7.travis.818.4 lib/travis/client/annotation.rb
travis-1.8.7.travis.812.4 lib/travis/client/annotation.rb
travis-1.8.6 lib/travis/client/annotation.rb
travis-1.8.7.travis.809.4 lib/travis/client/annotation.rb
travis-1.8.7.travis.808.4 lib/travis/client/annotation.rb
travis-1.8.6.travis.807.4 lib/travis/client/annotation.rb
travis-1.8.5 lib/travis/client/annotation.rb
travis-1.8.6.travis.796.4 lib/travis/client/annotation.rb
travis-1.8.5.travis.793.4 lib/travis/client/annotation.rb
travis-1.8.5.travis.791.4 lib/travis/client/annotation.rb
travis-1.8.5.travis.784.4 lib/travis/client/annotation.rb