Get your own customer support community
 

Typo in the API help in ActiveResource example

Hi, there seems to be a couple of typos in the API help, in the ActiveResource section :
- the self.site variable misses a " at the end
- the url needs https or it throws an error when you try to find stories

the following code works :

class Story < ActiveResource::Base
self.site = "https://www.pivotaltracker.com/services/v2/projects/:project_id"
headers['X-TrackerToken'] = 'TOKEN'
end
 
happy I’m glad I actually works ;)
Inappropriate?
1 person has this problem

The company marked this problem solved.


User_default_medium