Class: Vx::Builder::Task
- Inherits:
-
Object
- Object
- Vx::Builder::Task
- Defined in:
- lib/vx/builder/task.rb
Instance Attribute Summary collapse
-
#artifacts_url_prefix ⇒ Object
readonly
Returns the value of attribute artifacts_url_prefix.
-
#branch ⇒ Object
readonly
Returns the value of attribute branch.
-
#build_id ⇒ Object
readonly
Returns the value of attribute build_id.
-
#cache_url_prefix ⇒ Object
readonly
Returns the value of attribute cache_url_prefix.
-
#deploy_key ⇒ Object
readonly
Returns the value of attribute deploy_key.
-
#job_id ⇒ Object
readonly
Returns the value of attribute job_id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#pull_request_id ⇒ Object
readonly
Returns the value of attribute pull_request_id.
-
#sha ⇒ Object
readonly
Returns the value of attribute sha.
-
#src ⇒ Object
readonly
Returns the value of attribute src.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(options = {}) ⇒ Task
Returns a new instance of Task.
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/vx/builder/task.rb', line 8 def initialize( = {}) @name = [:name] @src = [:src] @sha = [:sha] @job_id = [:job_id] @build_id = [:build_id] @deploy_key = [:deploy_key] @branch = [:branch] @pull_request_id = [:pull_request_id] @cache_url_prefix = [:cache_url_prefix] @artifacts_url_prefix = [:artifacts_url_prefix] validate! end |
Instance Attribute Details
#artifacts_url_prefix ⇒ Object (readonly)
Returns the value of attribute artifacts_url_prefix.
5 6 7 |
# File 'lib/vx/builder/task.rb', line 5 def artifacts_url_prefix @artifacts_url_prefix end |
#branch ⇒ Object (readonly)
Returns the value of attribute branch.
5 6 7 |
# File 'lib/vx/builder/task.rb', line 5 def branch @branch end |
#build_id ⇒ Object (readonly)
Returns the value of attribute build_id.
5 6 7 |
# File 'lib/vx/builder/task.rb', line 5 def build_id @build_id end |
#cache_url_prefix ⇒ Object (readonly)
Returns the value of attribute cache_url_prefix.
5 6 7 |
# File 'lib/vx/builder/task.rb', line 5 def cache_url_prefix @cache_url_prefix end |
#deploy_key ⇒ Object (readonly)
Returns the value of attribute deploy_key.
5 6 7 |
# File 'lib/vx/builder/task.rb', line 5 def deploy_key @deploy_key end |
#job_id ⇒ Object (readonly)
Returns the value of attribute job_id.
5 6 7 |
# File 'lib/vx/builder/task.rb', line 5 def job_id @job_id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/vx/builder/task.rb', line 5 def name @name end |
#pull_request_id ⇒ Object (readonly)
Returns the value of attribute pull_request_id.
5 6 7 |
# File 'lib/vx/builder/task.rb', line 5 def pull_request_id @pull_request_id end |
#sha ⇒ Object (readonly)
Returns the value of attribute sha.
5 6 7 |
# File 'lib/vx/builder/task.rb', line 5 def sha @sha end |
#src ⇒ Object (readonly)
Returns the value of attribute src.
5 6 7 |
# File 'lib/vx/builder/task.rb', line 5 def src @src end |