Class: Gfid::Rubygems
Class Method Summary collapse
Class Method Details
.dependencies(gem) ⇒ Object
76 77 78 79 |
# File 'lib/gfid/gem.rb', line 76 def dependencies(gem) res = get("/api/v1/dependencies", :query => { :gems => gem } ) Marshal.load(res.body) end |
.download(path) ⇒ Object
81 82 83 |
# File 'lib/gfid/gem.rb', line 81 def download(path) get("/downloads/#{path}") end |