Class: Drone::Repo
- Inherits:
-
Object
- Object
- Drone::Repo
- Defined in:
- lib/drone/models/repo.rb
Overview
Represent ‘repo` JSON as a model
Instance Attribute Summary collapse
-
#avatar ⇒ String
The URL to the repo avatar.
-
#branch ⇒ String
The repo default branch.
-
#clone ⇒ String
The URL to the repo SCM system.
-
#deploys ⇒ String
The flag if deploys are allowed.
-
#full_name ⇒ String
The full repo name.
-
#id ⇒ Integer
The ID of the repo.
-
#link ⇒ String
The URL to the repo website.
-
#name ⇒ String
The repo name.
-
#owner ⇒ String
The owner name.
-
#pr ⇒ Boolean
The flag if pull requests are allowed.
-
#private ⇒ Boolean
The flag if repo is private.
-
#push ⇒ Boolean
The flag if pushs are allowed.
-
#tags ⇒ String
The flag if tags are allowed.
-
#timeout ⇒ Integer
The timeout value.
-
#trusted ⇒ Boolean
The flag if the repo is trusted.
Instance Attribute Details
#avatar ⇒ String
Returns the URL to the repo avatar.
45 |
# File 'lib/drone/models/repo.rb', line 45 attribute :avatar, String |
#branch ⇒ String
Returns the repo default branch.
57 |
# File 'lib/drone/models/repo.rb', line 57 attribute :branch, String |
#clone ⇒ String
Returns the URL to the repo SCM system.
53 |
# File 'lib/drone/models/repo.rb', line 53 attribute :clone, String |
#deploys ⇒ String
Returns the flag if deploys are allowed.
81 |
# File 'lib/drone/models/repo.rb', line 81 attribute :deploys, Boolean |
#full_name ⇒ String
Returns the full repo name.
41 |
# File 'lib/drone/models/repo.rb', line 41 attribute :full_name, String |
#id ⇒ Integer
Returns the ID of the repo.
29 |
# File 'lib/drone/models/repo.rb', line 29 attribute :id, Integer |
#link ⇒ String
Returns the URL to the repo website.
49 |
# File 'lib/drone/models/repo.rb', line 49 attribute :link, String |
#name ⇒ String
Returns the repo name.
37 |
# File 'lib/drone/models/repo.rb', line 37 attribute :name, String |
#owner ⇒ String
Returns the owner name.
33 |
# File 'lib/drone/models/repo.rb', line 33 attribute :owner, String |
#pr ⇒ Boolean
Returns the flag if pull requests are allowed.
73 |
# File 'lib/drone/models/repo.rb', line 73 attribute :pr, Boolean |
#private ⇒ Boolean
Returns the flag if repo is private.
65 |
# File 'lib/drone/models/repo.rb', line 65 attribute :private, Boolean |
#push ⇒ Boolean
Returns the flag if pushs are allowed.
77 |
# File 'lib/drone/models/repo.rb', line 77 attribute :push, Boolean |
#tags ⇒ String
Returns the flag if tags are allowed.
85 |
# File 'lib/drone/models/repo.rb', line 85 attribute :tags, Boolean |
#timeout ⇒ Integer
Returns the timeout value.
61 |
# File 'lib/drone/models/repo.rb', line 61 attribute :timeout, Integer |
#trusted ⇒ Boolean
Returns the flag if the repo is trusted.
69 |
# File 'lib/drone/models/repo.rb', line 69 attribute :trusted, Boolean |