Class: Drone::Build
- Inherits:
-
Object
- Object
- Drone::Build
- Defined in:
- lib/drone/models/build.rb
Overview
Represent ‘build` JSON as a model
Instance Attribute Summary collapse
-
#author ⇒ String
The commit author.
-
#author_avatar ⇒ String
The link to author avatar.
-
#author_email ⇒ String
The email of the author.
-
#branch ⇒ String
The branch of the build.
-
#commit ⇒ String
The commit hash of the build.
-
#created_at ⇒ Time
The time when the build have been created.
-
#deploy_to ⇒ String
The target of the deploy.
-
#enqueued_at ⇒ Time
The time when the build have been enqueued.
-
#event ⇒ String
The event of the build.
-
#finished_at ⇒ Time
The time when the build have been finished.
-
#id ⇒ Integer
The ID of the build.
-
#link ⇒ String
The link to the current build.
-
#message ⇒ String
The commit message of the build.
-
#number ⇒ Integer
The number of the build.
-
#ref ⇒ String
The reference of the build.
-
#refspec ⇒ String
The reference spec of the build.
-
#remote ⇒ String
The remote name of the build.
-
#started_at ⇒ Time
The time when the build have been started.
-
#status ⇒ String
The status of the build.
-
#timestamp ⇒ Time
The timestamp of the build.
-
#title ⇒ String
The title of the build.
Instance Attribute Details
#author ⇒ String
Returns the commit author.
81 |
# File 'lib/drone/models/build.rb', line 81 attribute :author, String |
#author_avatar ⇒ String
Returns the link to author avatar.
85 |
# File 'lib/drone/models/build.rb', line 85 attribute :author_avatar, String |
#author_email ⇒ String
Returns the email of the author.
89 |
# File 'lib/drone/models/build.rb', line 89 attribute :author_email, String |
#branch ⇒ String
Returns the branch of the build.
53 |
# File 'lib/drone/models/build.rb', line 53 attribute :branch, String |
#commit ⇒ String
Returns the commit hash of the build.
49 |
# File 'lib/drone/models/build.rb', line 49 attribute :commit, String |
#created_at ⇒ Time
Returns the time when the build have been created.
101 |
# File 'lib/drone/models/build.rb', line 101 attribute :created_at, Time |
#deploy_to ⇒ String
Returns the target of the deploy.
45 |
# File 'lib/drone/models/build.rb', line 45 attribute :deploy_to, String |
#enqueued_at ⇒ Time
Returns the time when the build have been enqueued.
97 |
# File 'lib/drone/models/build.rb', line 97 attribute :enqueued_at, Time |
#event ⇒ String
Returns the event of the build.
37 |
# File 'lib/drone/models/build.rb', line 37 attribute :event, String |
#finished_at ⇒ Time
Returns the time when the build have been finished.
109 |
# File 'lib/drone/models/build.rb', line 109 attribute :finished_at, Time |
#id ⇒ Integer
Returns the ID of the build.
29 |
# File 'lib/drone/models/build.rb', line 29 attribute :id, Integer |
#link ⇒ String
Returns the link to the current build.
77 |
# File 'lib/drone/models/build.rb', line 77 attribute :link, String |
#message ⇒ String
Returns the commit message of the build.
73 |
# File 'lib/drone/models/build.rb', line 73 attribute :message, String |
#number ⇒ Integer
Returns the number of the build.
33 |
# File 'lib/drone/models/build.rb', line 33 attribute :number, Integer |
#ref ⇒ String
Returns the reference of the build.
57 |
# File 'lib/drone/models/build.rb', line 57 attribute :ref, String |
#refspec ⇒ String
Returns the reference spec of the build.
61 |
# File 'lib/drone/models/build.rb', line 61 attribute :refspec, String |
#remote ⇒ String
Returns the remote name of the build.
65 |
# File 'lib/drone/models/build.rb', line 65 attribute :remote, String |
#started_at ⇒ Time
Returns the time when the build have been started.
105 |
# File 'lib/drone/models/build.rb', line 105 attribute :started_at, Time |
#status ⇒ String
Returns the status of the build.
41 |
# File 'lib/drone/models/build.rb', line 41 attribute :status, String |
#timestamp ⇒ Time
Returns the timestamp of the build.
93 |
# File 'lib/drone/models/build.rb', line 93 attribute :timestamp, Time |
#title ⇒ String
Returns the title of the build.
69 |
# File 'lib/drone/models/build.rb', line 69 attribute :title, String |