Class: Aws::RailsProvisioner::CodeBuild
- Inherits:
-
Object
- Object
- Aws::RailsProvisioner::CodeBuild
- Defined in:
- lib/aws-rails-provisioner/code_build.rb
Instance Attribute Summary collapse
- #buildspec ⇒ String readonly
- #description ⇒ String readonly
- #image ⇒ String readonly
- #project_name ⇒ String readonly
- #timeout ⇒ Integer readonly
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ CodeBuild
constructor
A new instance of CodeBuild.
Constructor Details
#initialize(options = {}) ⇒ CodeBuild
Returns a new instance of CodeBuild.
4 5 6 7 8 9 10 |
# File 'lib/aws-rails-provisioner/code_build.rb', line 4 def initialize( = {}) @project_name = [:project_name] @description = [:description] @buildspec = [:buildspec] @image = [:build_image].upcase @timeout = [:timeout] end |
Instance Attribute Details
#buildspec ⇒ String (readonly)
19 20 21 |
# File 'lib/aws-rails-provisioner/code_build.rb', line 19 def buildspec @buildspec end |
#description ⇒ String (readonly)
16 17 18 |
# File 'lib/aws-rails-provisioner/code_build.rb', line 16 def description @description end |
#image ⇒ String (readonly)
25 26 27 |
# File 'lib/aws-rails-provisioner/code_build.rb', line 25 def image @image end |
#project_name ⇒ String (readonly)
13 14 15 |
# File 'lib/aws-rails-provisioner/code_build.rb', line 13 def project_name @project_name end |
#timeout ⇒ Integer (readonly)
22 23 24 |
# File 'lib/aws-rails-provisioner/code_build.rb', line 22 def timeout @timeout end |