Sha256: 5412971d8fee96729494d19da7e4bb347ec8eed380077b2c31106be769532741

Contents?: true

Size: 1.21 KB

Versions: 3

Compression:

Stored size: 1.21 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://owner-api.teslamotors.com/oauth/token
    body:
      encoding: UTF-8
      string: grant_type=password&client_id=<TESLA_CLIENT_ID>&client_secret=<TESLA_CLIENT_SECRET>&email=<TESLA_EMAIL>&password=<TESLA_PASS>
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Mon, 15 Dec 2014 03:09:22 GMT
      Content-Type:
      - application/json; charset=utf-8
      Transfer-Encoding:
      - chunked
      Connection:
      - keep-alive
      Status:
      - 200 OK
      Cache-Control:
      - no-store
      Pragma:
      - no-cache
      X-Ua-Compatible:
      - IE=Edge,chrome=1
      X-Request-Id:
      - 349d563d345a9694c610770b743d3006
      X-Runtime:
      - '0.416152'
    body:
      encoding: UTF-8
      string: '{"access_token":"1cba4845a8653d4b731440e9911d84304a179bd16a9ecbc9b649f2d8e0f6947e","token_type":"bearer","expires_in":7776000,"created_at":1475777133}'
    http_version: 
  recorded_at: Mon, 15 Dec 2014 03:09:22 GMT
recorded_with: VCR 2.9.3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tesla_api-1.4.1 spec/cassettes/client-login.yml
tesla_api-1.4.0 spec/cassettes/client-login.yml
tesla_api-1.3.0 spec/cassettes/client-login.yml