Class: Travis::Client::Annotation
- Includes:
- NotLoadable, States
- Defined in:
- lib/travis/client/annotation.rb
Constant Summary
Constants included from States
Constants inherited from Entity
Instance Attribute Summary collapse
-
#job ⇒ Object
readonly
Returns the value of attribute job.
Attributes inherited from Entity
#attributes, #curry, #id, #session
Instance Method Summary collapse
Methods included from NotLoadable
Methods included from States
#canceled?, #color, #created?, #errored?, #failed?, #finished?, #green?, #passed?, #pending?, #queued?, #ready?, #received?, #red?, #running?, #started?, #unsuccessful?, #yellow?
Methods inherited from Entity
#[], #[]=, aka, #attribute_names, attributes, base_path, #cancelable?, cast_id, #complete?, has, has_singleton, id?, id_field, #include?, #initialize, #inspect, inspect_info, #load, many, #missing?, one, preloadable, preloadable?, relations, #relations, #reload, #restartable?, subclass_for, subclasses, time, #to_h, #update_attributes, weak?
Constructor Details
This class inherits a constructor from Travis::Client::Entity
Instance Attribute Details
#job ⇒ Object (readonly)
Returns the value of attribute job.
1 2 3 |
# File 'lib/travis/client/annotation.rb', line 1 def job @job end |
Instance Method Details
#inspect_info ⇒ Object
16 17 18 |
# File 'lib/travis/client/annotation.rb', line 16 def inspect_info "#{provider_name}: #{status}" end |