Sha256: 986b7e6ee6dcd0404d9928dc7c4845b1c3da3d85122861101261b3557744a1f5

Contents?: true

Size: 1.57 KB

Versions: 9

Compression:

Stored size: 1.57 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:3000/api/3/comments
    body:
      encoding: UTF-8
      string: body=new+created+comment&project_id=2&target_id=2&target_type=Conversation
    headers:
      User-Agent:
      - Faraday v0.9.0
      Authorization:
      - Bearer _frank_access_token_
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - '*/*'
  response:
    status:
      code: 201
      message: Created
    headers:
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge,chrome=1
      Etag:
      - '"f1dfccb97da68343c6f234783dbf6a3a"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - b83fbca8ecd7d5d8c423a006e62e7b70
      X-Runtime:
      - '0.732332'
      Connection:
      - close
      Server:
      - thin 1.6.1 codename Death Proof
    body:
      encoding: UTF-8
      string: '{"type":"Comment","created_at":1415786791,"updated_at":1415786791,"id":86,"body":"new
        created comment","body_html":"<p>new created comment</p>","user_id":1,"project_id":2,"target_id":2,"target_type":"Conversation","minutes":null,"assigned_id":null,"previous_assigned_id":null,"due_on":null,"previous_due_on":null,"is_private":false,"previous_is_private":null,"urgent":false,"previous_urgent":false,"email_id":null,"time_tracking_on":"2014-11-12","status":"new","previous_status":"new"}'
    http_version: 
  recorded_at: Wed, 12 Nov 2014 10:06:31 GMT
recorded_with: VCR 2.9.3

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
redbooth-ruby-0.2.3 spec/cassettes/RedboothRuby_Comment/_create/.yml
redbooth-ruby-0.2.2 spec/cassettes/RedboothRuby_Comment/_create/.yml
redbooth-ruby-0.2.1 spec/cassettes/RedboothRuby_Comment/_create/.yml
redbooth-ruby-0.2.0 spec/cassettes/RedboothRuby_Comment/_create/.yml
redbooth-ruby-0.1.4 spec/cassettes/RedboothRuby_Comment/_create/.yml
redbooth-ruby-0.1.3 spec/cassettes/RedboothRuby_Comment/_create/.yml
redbooth-ruby-0.1.1 spec/cassettes/RedboothRuby_Comment/_create/.yml
redbooth-ruby-0.1.0 spec/cassettes/RedboothRuby_Comment/_create/.yml
redbooth-ruby-0.0.5 spec/cassettes/RedboothRuby_Comment/_create/.yml