Sha256: 59f8822cee4bc6b29726bf85a0de761f7a54867786ea3e5b6c352a686c988c97

Contents?: true

Size: 1.29 KB

Versions: 10

Compression:

Stored size: 1.29 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,"refresh_token":"fea03b395fa4e72ebc399d9cda6163dcf438c248f744ebdd5bfcda571f5f317f","created_at":1475777133}'
    http_version:
  recorded_at: Mon, 15 Dec 2014 03:09:22 GMT
recorded_with: VCR 2.9.3

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
tesla_api-3.0.7 spec/cassettes/client-login.yml
tesla_api-3.0.6 spec/cassettes/client-login.yml
tesla_api-3.0.5 spec/cassettes/client-login.yml
tesla_api-3.0.4 spec/cassettes/client-login.yml
tesla_api-3.0.3 spec/cassettes/client-login.yml
tesla_api-3.0.2 spec/cassettes/client-login.yml
tesla_api-3.0.1 spec/cassettes/client-login.yml
tesla_api-3.0.0 spec/cassettes/client-login.yml
tesla_api-2.0.0 spec/cassettes/client-login.yml
tesla_api-1.5.0 spec/cassettes/client-login.yml