Class: Github::Repository

Inherits:
Object
  • Object
show all
Includes:
HappyMapper
Defined in:
lib/le_git/repository.rb

Class Method Summary collapse

Class Method Details

.user(name) ⇒ Object



15
16
17
18
# File 'lib/le_git/repository.rb', line 15

def self.user(name)
  xml = RestClient.get("http://github.com/api/v2/xml/repos/show/#{name}")
  parse(xml)
end