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.5.travis.783.4 lib/travis/client/annotation.rb
travis-1.8.5.travis.781.4 lib/travis/client/annotation.rb
travis-1.8.4 lib/travis/client/annotation.rb
travis-1.8.5.travis.779.4 lib/travis/client/annotation.rb
travis-1.8.3 lib/travis/client/annotation.rb
travis-1.8.4.travis.777.4 lib/travis/client/annotation.rb
travis-1.8.4.travis.775.4 lib/travis/client/annotation.rb
travis-1.8.3.travis.773.4 lib/travis/client/annotation.rb
travis-async-listener-1.8.3 lib/travis/client/annotation.rb
travis-1.8.3.travis.745.4 lib/travis/client/annotation.rb
travis-1.8.3.travis.726.4.pre.debug lib/travis/client/annotation.rb
travis-1.8.3.travis.724.4 lib/travis/client/annotation.rb
travis-1.8.2 lib/travis/client/annotation.rb
travis-1.8.2.travis.722.4 lib/travis/client/annotation.rb
travis-1.8.2.travis.719.4 lib/travis/client/annotation.rb
travis-1.8.1 lib/travis/client/annotation.rb
travis-1.8.1.travis.717.4 lib/travis/client/annotation.rb
travis-1.8.1.travis.713.4 lib/travis/client/annotation.rb
travis-1.8.1.travis.705.5 lib/travis/client/annotation.rb
travis-1.8.1.travis.704.5 lib/travis/client/annotation.rb