Class: Octopi::RepositorySet

Inherits:
Array
  • Object
show all
Includes:
Octopi
Defined in:
lib/octopi/repository_set.rb

Constant Summary

Constants included from Octopi

VERSION

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Octopi

#authenticated, #authenticated_with

Instance Attribute Details

#userObject

Returns the value of attribute user.



4
5
6
# File 'lib/octopi/repository_set.rb', line 4

def user
  @user
end

Instance Method Details

#find(name) ⇒ Object



6
7
8
# File 'lib/octopi/repository_set.rb', line 6

def find(name)
  Octopi::Repository.find(:user => self.user, :repository => name)
end