Class: Travis::Build
- Inherits:
-
Client::Entity
- Object
- Client::Entity
- Travis::Build
- Defined in:
- lib/travis/client/generated.rb
Instance Attribute Summary
Attributes inherited from Client::Entity
Class Method Summary collapse
Instance Method Summary collapse
-
#branch ⇒ Object
The branch the build is associated with.
-
#branch? ⇒ Boolean
Wheather or not #branch returns a truthy value (anything but ‘nil` or `false`).
- #cancel(params = {}) ⇒ Object
-
#commit ⇒ Object
The commit the build is associated with.
-
#commit? ⇒ Boolean
Wheather or not #commit returns a truthy value (anything but ‘nil` or `false`).
-
#duration ⇒ Object
Wall clock time in seconds.
-
#duration? ⇒ Boolean
Wheather or not #duration returns a truthy value (anything but ‘nil` or `false`).
-
#event_type ⇒ Object
Event that triggered the build.
-
#event_type? ⇒ Boolean
Wheather or not #event_type returns a truthy value (anything but ‘nil` or `false`).
- #find(params = {}) ⇒ Object
- #find_jobs(params = {}) ⇒ Object
-
#finished_at ⇒ Object
When the build finished.
-
#finished_at? ⇒ Boolean
Wheather or not #finished_at returns a truthy value (anything but ‘nil` or `false`).
-
#id ⇒ Object
Value uniquely identifying the build.
-
#id? ⇒ Boolean
Wheather or not #id returns a truthy value (anything but ‘nil` or `false`).
-
#jobs ⇒ Object
List of jobs that are part of the build’s matrix.
-
#jobs? ⇒ Boolean
Wheather or not #jobs returns a truthy value (anything but ‘nil` or `false`).
- #jobs_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`).
-
#previous_state ⇒ Object
State of the previous build (useful to see if state changed).
-
#previous_state? ⇒ Boolean
Wheather or not #previous_state returns a truthy value (anything but ‘nil` or `false`).
- #pull_request_number ⇒ Object
-
#pull_request_number? ⇒ Boolean
Wheather or not #pull_request_number returns a truthy value (anything but ‘nil` or `false`).
- #pull_request_title ⇒ Object
-
#pull_request_title? ⇒ Boolean
Wheather or not #pull_request_title returns a truthy value (anything but ‘nil` or `false`).
-
#repository ⇒ Object
GitHub user or organization the build belongs to.
-
#repository? ⇒ Boolean
Wheather or not #repository returns a truthy value (anything but ‘nil` or `false`).
- #restart(params = {}) ⇒ Object
- #stages ⇒ Object
-
#stages? ⇒ Boolean
Wheather or not #stages returns a truthy value (anything but ‘nil` or `false`).
-
#started_at ⇒ Object
When the build started.
-
#started_at? ⇒ Boolean
Wheather or not #started_at returns a truthy value (anything but ‘nil` or `false`).
-
#state ⇒ Object
Current state of the build.
-
#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
357 358 359 |
# File 'lib/travis/client/generated.rb', line 357 def self.cancel(params = {}) # This is a placeholder. end |
.find(params = {}) ⇒ Object
353 354 355 |
# File 'lib/travis/client/generated.rb', line 353 def self.find(params = {}) # This is a placeholder. end |
.restart(params = {}) ⇒ Object
361 362 363 |
# File 'lib/travis/client/generated.rb', line 361 def self.restart(params = {}) # This is a placeholder. end |
Instance Method Details
#branch ⇒ Object
The branch the build is associated with.
390 391 392 |
# File 'lib/travis/client/generated.rb', line 390 def branch # This is a placeholder. end |
#branch? ⇒ Boolean
Wheather or not #branch returns a truthy value (anything but ‘nil` or `false`).
483 484 485 |
# File 'lib/travis/client/generated.rb', line 483 def branch? # This is a placeholder. end |
#cancel(params = {}) ⇒ Object
516 517 518 |
# File 'lib/travis/client/generated.rb', line 516 def cancel(params = {}) # This is a placeholder. end |
#commit ⇒ Object
The commit the build is associated with.
488 489 490 |
# File 'lib/travis/client/generated.rb', line 488 def commit # This is a placeholder. end |
#commit? ⇒ Boolean
Wheather or not #commit returns a truthy value (anything but ‘nil` or `false`).
493 494 495 |
# File 'lib/travis/client/generated.rb', line 493 def commit? # This is a placeholder. end |
#duration ⇒ Object
Wall clock time in seconds.
420 421 422 |
# File 'lib/travis/client/generated.rb', line 420 def duration # This is a placeholder. end |
#duration? ⇒ Boolean
Wheather or not #duration returns a truthy value (anything but ‘nil` or `false`).
425 426 427 |
# File 'lib/travis/client/generated.rb', line 425 def duration? # This is a placeholder. end |
#event_type ⇒ Object
Event that triggered the build.
430 431 432 |
# File 'lib/travis/client/generated.rb', line 430 def event_type # This is a placeholder. end |
#event_type? ⇒ Boolean
Wheather or not #event_type returns a truthy value (anything but ‘nil` or `false`).
435 436 437 |
# File 'lib/travis/client/generated.rb', line 435 def event_type? # This is a placeholder. end |
#find(params = {}) ⇒ Object
365 366 367 |
# File 'lib/travis/client/generated.rb', line 365 def find(params = {}) # This is a placeholder. end |
#find_jobs(params = {}) ⇒ Object
528 529 530 |
# File 'lib/travis/client/generated.rb', line 528 def find_jobs(params = {}) # This is a placeholder. end |
#finished_at ⇒ Object
When the build finished.
473 474 475 |
# File 'lib/travis/client/generated.rb', line 473 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`).
478 479 480 |
# File 'lib/travis/client/generated.rb', line 478 def finished_at? # This is a placeholder. end |
#id ⇒ Object
Value uniquely identifying the build.
375 376 377 |
# File 'lib/travis/client/generated.rb', line 375 def id # This is a placeholder. end |
#id? ⇒ Boolean
Wheather or not #id returns a truthy value (anything but ‘nil` or `false`).
400 401 402 |
# File 'lib/travis/client/generated.rb', line 400 def id? # This is a placeholder. end |
#jobs ⇒ Object
List of jobs that are part of the build’s matrix.
498 499 500 |
# File 'lib/travis/client/generated.rb', line 498 def jobs # This is a placeholder. end |
#jobs? ⇒ Boolean
Wheather or not #jobs returns a truthy value (anything but ‘nil` or `false`).
503 504 505 |
# File 'lib/travis/client/generated.rb', line 503 def jobs? # This is a placeholder. end |
#jobs_find(params = {}) ⇒ Object
524 525 526 |
# File 'lib/travis/client/generated.rb', line 524 def jobs_find(params = {}) # This is a placeholder. end |
#number ⇒ Object
Incremental number for a repository’s builds.
380 381 382 |
# File 'lib/travis/client/generated.rb', line 380 def number # This is a placeholder. end |
#number? ⇒ Boolean
Wheather or not #number returns a truthy value (anything but ‘nil` or `false`).
410 411 412 |
# File 'lib/travis/client/generated.rb', line 410 def number? # This is a placeholder. end |
#previous_state ⇒ Object
State of the previous build (useful to see if state changed)
440 441 442 |
# File 'lib/travis/client/generated.rb', line 440 def previous_state # This is a placeholder. end |
#previous_state? ⇒ Boolean
Wheather or not #previous_state returns a truthy value (anything but ‘nil` or `false`).
445 446 447 |
# File 'lib/travis/client/generated.rb', line 445 def previous_state? # This is a placeholder. end |
#pull_request_number ⇒ Object
458 459 460 |
# File 'lib/travis/client/generated.rb', line 458 def pull_request_number # This is a placeholder. end |
#pull_request_number? ⇒ Boolean
Wheather or not #pull_request_number returns a truthy value (anything but ‘nil` or `false`).
463 464 465 |
# File 'lib/travis/client/generated.rb', line 463 def pull_request_number? # This is a placeholder. end |
#pull_request_title ⇒ Object
449 450 451 |
# File 'lib/travis/client/generated.rb', line 449 def pull_request_title # This is a placeholder. end |
#pull_request_title? ⇒ Boolean
Wheather or not #pull_request_title returns a truthy value (anything but ‘nil` or `false`).
454 455 456 |
# File 'lib/travis/client/generated.rb', line 454 def pull_request_title? # This is a placeholder. end |
#repository ⇒ Object
GitHub user or organization the build belongs to.
385 386 387 |
# File 'lib/travis/client/generated.rb', line 385 def repository # This is a placeholder. end |
#repository? ⇒ Boolean
Wheather or not #repository returns a truthy value (anything but ‘nil` or `false`).
405 406 407 |
# File 'lib/travis/client/generated.rb', line 405 def repository? # This is a placeholder. end |
#restart(params = {}) ⇒ Object
520 521 522 |
# File 'lib/travis/client/generated.rb', line 520 def restart(params = {}) # This is a placeholder. end |
#stages ⇒ Object
507 508 509 |
# File 'lib/travis/client/generated.rb', line 507 def stages # This is a placeholder. end |
#stages? ⇒ Boolean
Wheather or not #stages returns a truthy value (anything but ‘nil` or `false`).
512 513 514 |
# File 'lib/travis/client/generated.rb', line 512 def stages? # This is a placeholder. end |
#started_at ⇒ Object
When the build started.
395 396 397 |
# File 'lib/travis/client/generated.rb', line 395 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`).
468 469 470 |
# File 'lib/travis/client/generated.rb', line 468 def started_at? # This is a placeholder. end |
#state ⇒ Object
Current state of the build.
370 371 372 |
# File 'lib/travis/client/generated.rb', line 370 def state # This is a placeholder. end |
#state? ⇒ Boolean
Wheather or not #state returns a truthy value (anything but ‘nil` or `false`).
415 416 417 |
# File 'lib/travis/client/generated.rb', line 415 def state? # This is a placeholder. end |