Class: ShipIO::Build
- Inherits:
-
Object
- Object
- ShipIO::Build
- Defined in:
- lib/ShipIO/models/build.rb
Instance Attribute Summary collapse
-
#build_number ⇒ Object
Returns the value of attribute build_number.
-
#commit_sha ⇒ Object
Returns the value of attribute commit_sha.
-
#log_url ⇒ Object
Returns the value of attribute log_url.
-
#state ⇒ Object
Returns the value of attribute state.
-
#successful ⇒ Object
Returns the value of attribute successful.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Build
constructor
A new instance of Build.
Constructor Details
#initialize(options = {}) ⇒ Build
Returns a new instance of Build.
5 6 7 8 9 10 11 12 |
# File 'lib/ShipIO/models/build.rb', line 5 def initialize( = {}) @uuid = [:uuid] @build_number = [:build_number] @commit_sha = [:commit_sha] @state = [:state] @successful = [:successful] @log_url = [:log_url] end |
Instance Attribute Details
#build_number ⇒ Object
Returns the value of attribute build_number.
3 4 5 |
# File 'lib/ShipIO/models/build.rb', line 3 def build_number @build_number end |
#commit_sha ⇒ Object
Returns the value of attribute commit_sha.
3 4 5 |
# File 'lib/ShipIO/models/build.rb', line 3 def commit_sha @commit_sha end |
#log_url ⇒ Object
Returns the value of attribute log_url.
3 4 5 |
# File 'lib/ShipIO/models/build.rb', line 3 def log_url @log_url end |
#state ⇒ Object
Returns the value of attribute state.
3 4 5 |
# File 'lib/ShipIO/models/build.rb', line 3 def state @state end |
#successful ⇒ Object
Returns the value of attribute successful.
3 4 5 |
# File 'lib/ShipIO/models/build.rb', line 3 def successful @successful end |
#uuid ⇒ Object
Returns the value of attribute uuid.
3 4 5 |
# File 'lib/ShipIO/models/build.rb', line 3 def uuid @uuid end |