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.1.travis.699.5 lib/travis/client/annotation.rb
travis-1.8.1.travis.697.5 lib/travis/client/annotation.rb
travis-1.8.1.travis.696.5 lib/travis/client/annotation.rb
travis-1.8.1.travis.693.5 lib/travis/client/annotation.rb
travis-1.8.1.travis.692.5 lib/travis/client/annotation.rb
travis-1.8.1.travis.689.5 lib/travis/client/annotation.rb
travis-1.8.0 lib/travis/client/annotation.rb
travis-1.7.8.travis.688.5 lib/travis/client/annotation.rb
travis-1.7.8.travis.687.5 lib/travis/client/annotation.rb
travis-1.7.8.travis.684.5 lib/travis/client/annotation.rb
travis-1.7.7 lib/travis/client/annotation.rb
travis-1.7.7.travis.683.5 lib/travis/client/annotation.rb
travis-1.7.7.travis.681.5 lib/travis/client/annotation.rb
travis-1.7.7.travis.678.5 lib/travis/client/annotation.rb
travis-1.7.6.travis.677.5 lib/travis/client/annotation.rb
travis-1.7.6 lib/travis/client/annotation.rb
travis-1.7.6.travis.676.5 lib/travis/client/annotation.rb
travis-1.7.6.travis.675.5 lib/travis/client/annotation.rb
travis-1.7.6.travis.673.5 lib/travis/client/annotation.rb
travis-1.7.6.travis.673.6 lib/travis/client/annotation.rb