Class: Octoplex::Client::Repository
- Defined in:
- lib/octoplex/client/repository.rb
Instance Attribute Summary collapse
-
#owner ⇒ Object
readonly
Returns the value of attribute owner.
Attributes inherited from Base
Instance Method Summary collapse
-
#branches ⇒ Object
GET /repos/:user/:repo/branches.
-
#contributors ⇒ Object
GET /repos/:user/:repo/contributors.
-
#initialize(owner, client, data) ⇒ Repository
constructor
A new instance of Repository.
-
#languages ⇒ Object
GET /repos/:user/:repo/languages.
-
#teams ⇒ Object
GET /repos/:user/:repo/teams.
Constructor Details
#initialize(owner, client, data) ⇒ Repository
Returns a new instance of Repository.
7 8 9 10 |
# File 'lib/octoplex/client/repository.rb', line 7 def initialize(owner, client, data) super(client, data) @owner = owner end |
Instance Attribute Details
#owner ⇒ Object (readonly)
Returns the value of attribute owner.
5 6 7 |
# File 'lib/octoplex/client/repository.rb', line 5 def owner @owner end |
Instance Method Details
#branches ⇒ Object
GET /repos/:user/:repo/branches
32 33 34 |
# File 'lib/octoplex/client/repository.rb', line 32 def branches end |
#contributors ⇒ Object
GET /repos/:user/:repo/contributors
17 18 19 |
# File 'lib/octoplex/client/repository.rb', line 17 def contributors end |
#languages ⇒ Object
GET /repos/:user/:repo/languages
22 23 24 |
# File 'lib/octoplex/client/repository.rb', line 22 def languages end |
#teams ⇒ Object
GET /repos/:user/:repo/teams
27 28 29 |
# File 'lib/octoplex/client/repository.rb', line 27 def teams end |