class Odesk::Api::Routers::Teams
Team API
Constants
- ENTRY_POINT
Public Class Methods
new(client)
click to toggle source
Init
Arguments:
client: (Client)
# File lib/odesk/api/routers/teams.rb, line 25 def initialize(client) @client = client @client.epoint = ENTRY_POINT end
Public Instance Methods
get_list()
click to toggle source
Get Team Rooms
# File lib/odesk/api/routers/teams.rb, line 31 def get_list $LOG.i "running " + __method__.to_s @client.get '/team/v2/teamrooms' end
get_specific(team, params)
click to toggle source
Get specific team or company Arguments:
team: (String) params: (Hash)
# File lib/odesk/api/routers/teams.rb, line 40 def get_specific(team, params) $LOG.i "running " + __method__.to_s @client.get '/team/v2/teamrooms/' + team, params end