Skip to content

Instantly share code, notes, and snippets.

@maddox
Created August 7, 2008 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maddox/4415 to your computer and use it in GitHub Desktop.
Save maddox/4415 to your computer and use it in GitHub Desktop.
# index
@downloads = get_downloads
# PYROT AND NEWZBIN STUFF
def get_pyrot
@pyrot = Pyrot.new(:url => current_user.pyrot_url, :path => '/xmlrpc', :port => current_user.pyrot_port)
end
def get_downloads
get_pyrot.downloads
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment