public
Last active

  • Download Gist
multiple-users-2.rb
Ruby
1 2 3 4 5 6 7 8 9
def connection(options={})
raise NoToken unless @token.present?
 
@connections ||= {}
 
@connections[@token] ||= RestClient::Resource.new(\
"#{protocol}://www.pivotaltracker.com/services/v3", \
:headers => {'X-TrackerToken' => @token, 'Content-Type' => 'application/xml'})
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.