Class: Travis::Job
- Inherits:
-
Client::Entity
- Object
- Client::Entity
- Travis::Job
- Defined in:
- lib/travis/client/generated.rb
Instance Attribute Summary
Attributes inherited from Client::Entity
Class Method Summary collapse
- .cancel(params = {}) ⇒ Object
- .debug(params = {}) ⇒ Object
- .find(params = {}) ⇒ Object
- .restart(params = {}) ⇒ Object
Instance Method Summary collapse
-
#build ⇒ Object
The build the job is associated with.
-
#build? ⇒ Boolean
Wheather or not #build returns a truthy value (anything but ‘nil` or `false`).
- #cancel(params = {}) ⇒ Object
-
#commit ⇒ Object
The commit the job is associated with.
-
#commit? ⇒ Boolean
Wheather or not #commit returns a truthy value (anything but ‘nil` or `false`).
- #debug(params = {}) ⇒ Object
- #delete_log(params = {}) ⇒ Object
- #find(params = {}) ⇒ Object
- #find_log(params = {}) ⇒ Object
-
#finished_at ⇒ Object
When the job finished.
-
#finished_at? ⇒ Boolean
Wheather or not #finished_at returns a truthy value (anything but ‘nil` or `false`).
-
#id ⇒ Object
Value uniquely identifying the job.
-
#id? ⇒ Boolean
Wheather or not #id returns a truthy value (anything but ‘nil` or `false`).
- #log(params = {}) ⇒ Object
- #log_delete(params = {}) ⇒ Object
- #log_find(params = {}) ⇒ Object
-
#number ⇒ Object
Incremental number for a repository’s builds.
-
#number? ⇒ Boolean
Wheather or not #number returns a truthy value (anything but ‘nil` or `false`).
-
#owner ⇒ Object
GitHub user or organization the job belongs to.
-
#owner? ⇒ Boolean
Wheather or not #owner returns a truthy value (anything but ‘nil` or `false`).
-
#queue ⇒ Object
Worker queue this job is/was scheduled on.
-
#queue? ⇒ Boolean
Wheather or not #queue returns a truthy value (anything but ‘nil` or `false`).
-
#repository ⇒ Object
GitHub user or organization the job belongs to.
-
#repository? ⇒ Boolean
Wheather or not #repository returns a truthy value (anything but ‘nil` or `false`).
- #restart(params = {}) ⇒ Object
- #stage ⇒ Object
-
#stage? ⇒ Boolean
Wheather or not #stage returns a truthy value (anything but ‘nil` or `false`).
-
#started_at ⇒ Object
When the job started.
-
#started_at? ⇒ Boolean
Wheather or not #started_at returns a truthy value (anything but ‘nil` or `false`).
-
#state ⇒ Object
Current state of the job.
-
#state? ⇒ Boolean
Wheather or not #state returns a truthy value (anything but ‘nil` or `false`).
Methods inherited from Client::Entity
#[], add_action, add_attribute, add_related_action, for_session, #initialize, #inspect, #merge!, #permission?, #to_entity, #to_h
Constructor Details
This class inherits a constructor from Travis::Client::Entity
Class Method Details
.cancel(params = {}) ⇒ Object
916 917 918 |
# File 'lib/travis/client/generated.rb', line 916 def self.cancel(params = {}) # This is a placeholder. end |
.debug(params = {}) ⇒ Object
912 913 914 |
# File 'lib/travis/client/generated.rb', line 912 def self.debug(params = {}) # This is a placeholder. end |
.find(params = {}) ⇒ Object
908 909 910 |
# File 'lib/travis/client/generated.rb', line 908 def self.find(params = {}) # This is a placeholder. end |
.restart(params = {}) ⇒ Object
920 921 922 |
# File 'lib/travis/client/generated.rb', line 920 def self.restart(params = {}) # This is a placeholder. end |
Instance Method Details
#build ⇒ Object
The build the job is associated with.
943 944 945 |
# File 'lib/travis/client/generated.rb', line 943 def build # This is a placeholder. end |
#build? ⇒ Boolean
Wheather or not #build returns a truthy value (anything but ‘nil` or `false`).
1017 1018 1019 |
# File 'lib/travis/client/generated.rb', line 1017 def build? # This is a placeholder. end |
#cancel(params = {}) ⇒ Object
1045 1046 1047 |
# File 'lib/travis/client/generated.rb', line 1045 def cancel(params = {}) # This is a placeholder. end |
#commit ⇒ Object
The commit the job is associated with.
1007 1008 1009 |
# File 'lib/travis/client/generated.rb', line 1007 def commit # This is a placeholder. end |
#commit? ⇒ Boolean
Wheather or not #commit returns a truthy value (anything but ‘nil` or `false`).
1012 1013 1014 |
# File 'lib/travis/client/generated.rb', line 1012 def commit? # This is a placeholder. end |
#debug(params = {}) ⇒ Object
947 948 949 |
# File 'lib/travis/client/generated.rb', line 947 def debug(params = {}) # This is a placeholder. end |
#delete_log(params = {}) ⇒ Object
1065 1066 1067 |
# File 'lib/travis/client/generated.rb', line 1065 def delete_log(params = {}) # This is a placeholder. end |
#find(params = {}) ⇒ Object
924 925 926 |
# File 'lib/travis/client/generated.rb', line 924 def find(params = {}) # This is a placeholder. end |
#find_log(params = {}) ⇒ Object
1057 1058 1059 |
# File 'lib/travis/client/generated.rb', line 1057 def find_log(params = {}) # This is a placeholder. end |
#finished_at ⇒ Object
When the job finished.
997 998 999 |
# File 'lib/travis/client/generated.rb', line 997 def finished_at # This is a placeholder. end |
#finished_at? ⇒ Boolean
Wheather or not #finished_at returns a truthy value (anything but ‘nil` or `false`).
1002 1003 1004 |
# File 'lib/travis/client/generated.rb', line 1002 def finished_at? # This is a placeholder. end |
#id ⇒ Object
Value uniquely identifying the job.
952 953 954 |
# File 'lib/travis/client/generated.rb', line 952 def id # This is a placeholder. end |
#id? ⇒ Boolean
Wheather or not #id returns a truthy value (anything but ‘nil` or `false`).
972 973 974 |
# File 'lib/travis/client/generated.rb', line 972 def id? # This is a placeholder. end |
#log(params = {}) ⇒ Object
938 939 940 |
# File 'lib/travis/client/generated.rb', line 938 def log(params = {}) # This is a placeholder. end |
#log_delete(params = {}) ⇒ Object
1061 1062 1063 |
# File 'lib/travis/client/generated.rb', line 1061 def log_delete(params = {}) # This is a placeholder. end |
#log_find(params = {}) ⇒ Object
1053 1054 1055 |
# File 'lib/travis/client/generated.rb', line 1053 def log_find(params = {}) # This is a placeholder. end |
#number ⇒ Object
Incremental number for a repository’s builds.
957 958 959 |
# File 'lib/travis/client/generated.rb', line 957 def number # This is a placeholder. end |
#number? ⇒ Boolean
Wheather or not #number returns a truthy value (anything but ‘nil` or `false`).
982 983 984 |
# File 'lib/travis/client/generated.rb', line 982 def number? # This is a placeholder. end |
#owner ⇒ Object
GitHub user or organization the job belongs to.
934 935 936 |
# File 'lib/travis/client/generated.rb', line 934 def owner # This is a placeholder. end |
#owner? ⇒ Boolean
Wheather or not #owner returns a truthy value (anything but ‘nil` or `false`).
1032 1033 1034 |
# File 'lib/travis/client/generated.rb', line 1032 def owner? # This is a placeholder. end |
#queue ⇒ Object
Worker queue this job is/was scheduled on.
1022 1023 1024 |
# File 'lib/travis/client/generated.rb', line 1022 def queue # This is a placeholder. end |
#queue? ⇒ Boolean
Wheather or not #queue returns a truthy value (anything but ‘nil` or `false`).
1027 1028 1029 |
# File 'lib/travis/client/generated.rb', line 1027 def queue? # This is a placeholder. end |
#repository ⇒ Object
GitHub user or organization the job belongs to.
962 963 964 |
# File 'lib/travis/client/generated.rb', line 962 def repository # This is a placeholder. end |
#repository? ⇒ Boolean
Wheather or not #repository returns a truthy value (anything but ‘nil` or `false`).
977 978 979 |
# File 'lib/travis/client/generated.rb', line 977 def repository? # This is a placeholder. end |
#restart(params = {}) ⇒ Object
1049 1050 1051 |
# File 'lib/travis/client/generated.rb', line 1049 def restart(params = {}) # This is a placeholder. end |
#stage ⇒ Object
1036 1037 1038 |
# File 'lib/travis/client/generated.rb', line 1036 def stage # This is a placeholder. end |
#stage? ⇒ Boolean
Wheather or not #stage returns a truthy value (anything but ‘nil` or `false`).
1041 1042 1043 |
# File 'lib/travis/client/generated.rb', line 1041 def stage? # This is a placeholder. end |
#started_at ⇒ Object
When the job started.
967 968 969 |
# File 'lib/travis/client/generated.rb', line 967 def started_at # This is a placeholder. end |
#started_at? ⇒ Boolean
Wheather or not #started_at returns a truthy value (anything but ‘nil` or `false`).
992 993 994 |
# File 'lib/travis/client/generated.rb', line 992 def started_at? # This is a placeholder. end |
#state ⇒ Object
Current state of the job.
929 930 931 |
# File 'lib/travis/client/generated.rb', line 929 def state # This is a placeholder. end |
#state? ⇒ Boolean
Wheather or not #state returns a truthy value (anything but ‘nil` or `false`).
987 988 989 |
# File 'lib/travis/client/generated.rb', line 987 def state? # This is a placeholder. end |