Class: Octoplex::Client::Repository

Inherits:
Base
  • Object
show all
Defined in:
lib/octoplex/client/repository.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#client

Instance Method Summary collapse

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

#ownerObject (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

#branchesObject

GET /repos/:user/:repo/branches



32
33
34
# File 'lib/octoplex/client/repository.rb', line 32

def branches

end

#contributorsObject

GET /repos/:user/:repo/contributors



17
18
19
# File 'lib/octoplex/client/repository.rb', line 17

def contributors

end

#languagesObject

GET /repos/:user/:repo/languages



22
23
24
# File 'lib/octoplex/client/repository.rb', line 22

def languages

end

#teamsObject

GET /repos/:user/:repo/teams



27
28
29
# File 'lib/octoplex/client/repository.rb', line 27

def teams

end