Class: Travis::Branch

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

Instance Attribute Summary

Attributes inherited from Client::Entity

#session

Class Method Summary collapse

Instance Method Summary collapse

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

.find(params = {}) ⇒ Object



205
206
207
# File 'lib/travis/client/generated.rb', line 205

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

Instance Method Details

#create_cron(params = {}) ⇒ Object



271
272
273
# File 'lib/travis/client/generated.rb', line 271

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

#cron(params = {}) ⇒ Object



263
264
265
# File 'lib/travis/client/generated.rb', line 263

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

#cron_create(params = {}) ⇒ Object



267
268
269
# File 'lib/travis/client/generated.rb', line 267

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

#default_branchObject

Whether or not this is the resposiotry’s default branch.



234
235
236
# File 'lib/travis/client/generated.rb', line 234

def default_branch
  # This is a placeholder.
end

#default_branch?Boolean

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

Returns:

  • (Boolean)


239
240
241
# File 'lib/travis/client/generated.rb', line 239

def default_branch?
  # This is a placeholder.
end

#exists_on_githubObject

Whether or not the branch still exists on GitHub.



244
245
246
# File 'lib/travis/client/generated.rb', line 244

def exists_on_github
  # This is a placeholder.
end

#exists_on_github?Boolean

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

Returns:

  • (Boolean)


249
250
251
# File 'lib/travis/client/generated.rb', line 249

def exists_on_github?
  # This is a placeholder.
end

#find(params = {}) ⇒ Object



214
215
216
# File 'lib/travis/client/generated.rb', line 214

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

#last_buildObject

Last build on the branch.



254
255
256
# File 'lib/travis/client/generated.rb', line 254

def last_build
  # This is a placeholder.
end

#last_build?Boolean

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

Returns:

  • (Boolean)


259
260
261
# File 'lib/travis/client/generated.rb', line 259

def last_build?
  # This is a placeholder.
end

#nameObject

Name of the git branch.



210
211
212
# File 'lib/travis/client/generated.rb', line 210

def name
  # This is a placeholder.
end

#name?Boolean

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

Returns:

  • (Boolean)


224
225
226
# File 'lib/travis/client/generated.rb', line 224

def name?
  # This is a placeholder.
end

#repositoryObject

GitHub user or organization the branch belongs to.



219
220
221
# File 'lib/travis/client/generated.rb', line 219

def repository
  # This is a placeholder.
end

#repository?Boolean

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

Returns:

  • (Boolean)


229
230
231
# File 'lib/travis/client/generated.rb', line 229

def repository?
  # This is a placeholder.
end