Class: Travis::Cron
- Inherits:
-
Travis::Client::Entity
- Object
- Travis::Client::Entity
- Travis::Cron
- Defined in:
- lib/travis/client/generated.rb
Instance Attribute Summary
Attributes inherited from Travis::Client::Entity
Class Method Summary collapse
- .create(params = {}) ⇒ Object
- .delete(params = {}) ⇒ Object
- .find(params = {}) ⇒ Object
- .for_branch(params = {}) ⇒ Object
Instance Method Summary collapse
-
#branch ⇒ Object
Git branch of repository to which this cron belongs.
-
#branch? ⇒ Boolean
Wheather or not #branch returns a truthy value (anything but ‘nil` or `false`).
-
#created_at ⇒ Object
When the cron was created.
-
#created_at? ⇒ Boolean
Wheather or not #created_at returns a truthy value (anything but ‘nil` or `false`).
- #delete(params = {}) ⇒ Object
-
#dont_run_if_recent_build_exists ⇒ Object
Whether a cron build should run if there has been a build on this branch in the last 24 hours.
-
#dont_run_if_recent_build_exists? ⇒ Boolean
Wheather or not #dont_run_if_recent_build_exists returns a truthy value (anything but ‘nil` or `false`).
- #find(params = {}) ⇒ Object
-
#id ⇒ Object
Value uniquely identifying the cron.
-
#id? ⇒ Boolean
Wheather or not #id returns a truthy value (anything but ‘nil` or `false`).
-
#interval ⇒ Object
Interval at which the cron will run (can be “daily”, “weekly” or “monthly”).
-
#interval? ⇒ Boolean
Wheather or not #interval returns a truthy value (anything but ‘nil` or `false`).
-
#last_run ⇒ Object
When the cron ran last.
-
#last_run? ⇒ Boolean
Wheather or not #last_run returns a truthy value (anything but ‘nil` or `false`).
-
#next_run ⇒ Object
When the cron is scheduled to run next.
-
#next_run? ⇒ Boolean
Wheather or not #next_run returns a truthy value (anything but ‘nil` or `false`).
-
#repository ⇒ Object
Github repository to which this cron belongs.
-
#repository? ⇒ Boolean
Wheather or not #repository returns a truthy value (anything but ‘nil` or `false`).
Methods inherited from Travis::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
.create(params = {}) ⇒ Object
661 662 663 |
# File 'lib/travis/client/generated.rb', line 661 def self.create(params = {}) # This is a placeholder. end |
.delete(params = {}) ⇒ Object
657 658 659 |
# File 'lib/travis/client/generated.rb', line 657 def self.delete(params = {}) # This is a placeholder. end |
.find(params = {}) ⇒ Object
653 654 655 |
# File 'lib/travis/client/generated.rb', line 653 def self.find(params = {}) # This is a placeholder. end |
.for_branch(params = {}) ⇒ Object
665 666 667 |
# File 'lib/travis/client/generated.rb', line 665 def self.for_branch(params = {}) # This is a placeholder. end |
Instance Method Details
#branch ⇒ Object
Git branch of repository to which this cron belongs.
688 689 690 |
# File 'lib/travis/client/generated.rb', line 688 def branch # This is a placeholder. end |
#branch? ⇒ Boolean
Wheather or not #branch returns a truthy value (anything but ‘nil` or `false`).
713 714 715 |
# File 'lib/travis/client/generated.rb', line 713 def branch? # This is a placeholder. end |
#created_at ⇒ Object
When the cron was created.
693 694 695 |
# File 'lib/travis/client/generated.rb', line 693 def created_at # This is a placeholder. end |
#created_at? ⇒ Boolean
Wheather or not #created_at returns a truthy value (anything but ‘nil` or `false`).
708 709 710 |
# File 'lib/travis/client/generated.rb', line 708 def created_at? # This is a placeholder. end |
#delete(params = {}) ⇒ Object
673 674 675 |
# File 'lib/travis/client/generated.rb', line 673 def delete(params = {}) # This is a placeholder. end |
#dont_run_if_recent_build_exists ⇒ Object
Whether a cron build should run if there has been a build on this branch in the last 24 hours.
728 729 730 |
# File 'lib/travis/client/generated.rb', line 728 def dont_run_if_recent_build_exists # This is a placeholder. end |
#dont_run_if_recent_build_exists? ⇒ Boolean
Wheather or not #dont_run_if_recent_build_exists returns a truthy value (anything but ‘nil` or `false`).
733 734 735 |
# File 'lib/travis/client/generated.rb', line 733 def dont_run_if_recent_build_exists? # This is a placeholder. end |
#find(params = {}) ⇒ Object
669 670 671 |
# File 'lib/travis/client/generated.rb', line 669 def find(params = {}) # This is a placeholder. end |
#id ⇒ Object
Value uniquely identifying the cron.
678 679 680 |
# File 'lib/travis/client/generated.rb', line 678 def id # This is a placeholder. end |
#id? ⇒ Boolean
Wheather or not #id returns a truthy value (anything but ‘nil` or `false`).
698 699 700 |
# File 'lib/travis/client/generated.rb', line 698 def id? # This is a placeholder. end |
#interval ⇒ Object
Interval at which the cron will run (can be “daily”, “weekly” or “monthly”)
718 719 720 |
# File 'lib/travis/client/generated.rb', line 718 def interval # This is a placeholder. end |
#interval? ⇒ Boolean
Wheather or not #interval returns a truthy value (anything but ‘nil` or `false`).
723 724 725 |
# File 'lib/travis/client/generated.rb', line 723 def interval? # This is a placeholder. end |
#last_run ⇒ Object
When the cron ran last.
738 739 740 |
# File 'lib/travis/client/generated.rb', line 738 def last_run # This is a placeholder. end |
#last_run? ⇒ Boolean
Wheather or not #last_run returns a truthy value (anything but ‘nil` or `false`).
743 744 745 |
# File 'lib/travis/client/generated.rb', line 743 def last_run? # This is a placeholder. end |
#next_run ⇒ Object
When the cron is scheduled to run next.
748 749 750 |
# File 'lib/travis/client/generated.rb', line 748 def next_run # This is a placeholder. end |
#next_run? ⇒ Boolean
Wheather or not #next_run returns a truthy value (anything but ‘nil` or `false`).
753 754 755 |
# File 'lib/travis/client/generated.rb', line 753 def next_run? # This is a placeholder. end |
#repository ⇒ Object
Github repository to which this cron belongs.
683 684 685 |
# File 'lib/travis/client/generated.rb', line 683 def repository # This is a placeholder. end |
#repository? ⇒ Boolean
Wheather or not #repository returns a truthy value (anything but ‘nil` or `false`).
703 704 705 |
# File 'lib/travis/client/generated.rb', line 703 def repository? # This is a placeholder. end |