title: Execute CURL command from rails
body: <p>Hi I need to integrate my rails 3.2 application with pivotaltracker to CRUD projects and stories. In their documentation <a href="https://www.pivotaltracker.com/help/api#Getting_Started" rel="nofollow">pivotal tracker api link</a> they provided some commands to create, ready story using CURL. I want to know how to use those commands in rails.</p>
  
  <p>Example command to create story:</p>
  
  <pre><code>export TOKEN='your Pivotal Tracker API token'
  export PROJECT_ID=99
  curl -X POST -H "Content-Type: application/json" -H "X-TrackerToken: $TOKEN" -d '{"current_state":"started","name":"Exhaust ports are ray shielded","estimate":1}' "https://www.pivotaltracker.com/services/v5/projects/$PROJECT_ID/stories"
  </code></pre>
  
  <p>how can i achieve this in rails?</p>