Class: Travis::Cron

Inherits:
Travis::Client::Entity show all
Defined in:
lib/travis/client/generated.rb

Instance Attribute Summary

Attributes inherited from Travis::Client::Entity

#session

Class Method Summary collapse

Instance Method Summary collapse

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

#branchObject

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`).

Returns:

  • (Boolean)


713
714
715
# File 'lib/travis/client/generated.rb', line 713

def branch?
  # This is a placeholder.
end

#created_atObject

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`).

Returns:

  • (Boolean)


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_existsObject

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`).

Returns:

  • (Boolean)


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

#idObject

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`).

Returns:

  • (Boolean)


698
699
700
# File 'lib/travis/client/generated.rb', line 698

def id?
  # This is a placeholder.
end

#intervalObject

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`).

Returns:

  • (Boolean)


723
724
725
# File 'lib/travis/client/generated.rb', line 723

def interval?
  # This is a placeholder.
end

#last_runObject

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`).

Returns:

  • (Boolean)


743
744
745
# File 'lib/travis/client/generated.rb', line 743

def last_run?
  # This is a placeholder.
end

#next_runObject

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`).

Returns:

  • (Boolean)


753
754
755
# File 'lib/travis/client/generated.rb', line 753

def next_run?
  # This is a placeholder.
end

#repositoryObject

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`).

Returns:

  • (Boolean)


703
704
705
# File 'lib/travis/client/generated.rb', line 703

def repository?
  # This is a placeholder.
end