Class: Travis::Caches

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

.delete(params = {}) ⇒ Object



545
546
547
# File 'lib/travis/client/generated.rb', line 545

def self.delete(params = {})
  # This is a placeholder.
end

.find(params = {}) ⇒ Object



541
542
543
# File 'lib/travis/client/generated.rb', line 541

def self.find(params = {})
  # This is a placeholder.
end

Instance Method Details

#branchObject

The branch the cache belongs to.



560
561
562
# File 'lib/travis/client/generated.rb', line 560

def branch
  # This is a placeholder.
end

#branch?Boolean

Wheather or not #branch returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


565
566
567
# File 'lib/travis/client/generated.rb', line 565

def branch?
  # This is a placeholder.
end

#matchObject

The string to match against the cache name.



550
551
552
# File 'lib/travis/client/generated.rb', line 550

def match
  # This is a placeholder.
end

#match?Boolean

Wheather or not #match returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


555
556
557
# File 'lib/travis/client/generated.rb', line 555

def match?
  # This is a placeholder.
end