Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

solex/ruby_desk

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A gem built by BadrIT (www.badrit.com) that works as an interface for oDesk APIs. It can be used for both desktop and web applications

If you want to use oDesk APIs with Rails applications you may better use ror_desk. ror_desk is a plugin built on Ruby Desk and makes it much easier to use with Rails.

For more information read the documentation at aseldawy.github.com/ruby_desk/

Initialize with your api key

rd = RubyDesk::Connector.new(api_key, api_secret)

Get the URL that will ask the user to authenticate your application

rd.auth_url

You should then redirect the user to the returned URL to get the frob. When you get the frob set it using

rd.frob = frob

Finally, you should request an api_token

rd.get_token

Now you are ready to use all the APIs you need

team_rooms = RubyDesk::TeamRoom.get_teamrooms(rd)
team_rooms.each { |team_room| puts team_room.id }

Copyright © 2010 Ahmed ElDawy. See LICENSE for details.

About

A Ruby gem that gives a simple interface to oDesk APIs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.