class Elance::Workroom
Public Instance Methods
contractors(bid_id) { |response| ... }
click to toggle source
GET /workroom/bid-id/contractors
# File lib/elance/workroom.rb, line 22 def contractors(bid_id, &block) response = self.class.get "/workroom/#{bid_id}/contractors", options yield(response) if block_given? response end
find(bid_id) { |response| ... }
click to toggle source
GET /workroom/bid-id
# File lib/elance/workroom.rb, line 8 def find(bid_id, &block) response = self.class.get "/workroom/#{bid_id}", options yield(response) if block_given? response end
inbox(bid_id, *params) { |response| ... }
click to toggle source
GET /workroom/bid-id/inbox
# File lib/elance/workroom.rb, line 29 def inbox(bid_id, *params, &block) options = {:query => {}} options[:query] = params[0] if params.length > 0 response = self.class.get "/workroom/#{bid_id}/inbox", options yield(response) if block_given? response end
messages(bid_id) { |response| ... }
click to toggle source
GET/POST /workroom/bid-id/messages
# File lib/elance/workroom.rb, line 38 def messages(bid_id, &block) response = self.class.get "/workroom/#{bid_id}/messages", options yield(response) if block_given? response end
proposal(bid_id) { |response| ... }
click to toggle source
GET /workroom/bid-id/proposal
# File lib/elance/workroom.rb, line 45 def proposal(bid_id, &block) response = self.class.get "/workroom/#{bid_id}/proposal", options yield(response) if block_given? response end
proposals(bid_id) { |response| ... }
click to toggle source
GET /workroom/bid-id/actions
# File lib/elance/workroom.rb, line 15 def proposals(bid_id, &block) response = self.class.get "/workroom/#{bid_id}/actions", options yield(response) if block_given? response end
status_reports(bid_id) { |response| ... }
click to toggle source
GET /workroom/bid-id/statusreports
# File lib/elance/workroom.rb, line 52 def status_reports(bid_id, &block) response = self.class.get "/workroom/#{bid_id}/statusReports", options yield(response) if block_given? response end
timesheets(bid_id) { |response| ... }
click to toggle source
GET /workroom/bid-id/timesheets
# File lib/elance/workroom.rb, line 59 def timesheets(bid_id, &block) response = self.class.get "/workroom/#{bid_id}/timesheets", options yield(response) if block_given? response end
users(bid_id) { |response| ... }
click to toggle source
GET /workroom/bid-id/users
# File lib/elance/workroom.rb, line 66 def users(bid_id, &block) response = self.class.get "/workroom/#{bid_id}/users", options yield(response) if block_given? response end
workview(bid_id, user_id) { |response| ... }
click to toggle source
GET /workroom/bid-id/workview/user-id
# File lib/elance/workroom.rb, line 73 def workview(bid_id, user_id, &block) response = self.class.get "/workroom/#{bid_id}/workview/#{user_id}", options yield(response) if block_given? response end