moip/moip-sdk-ruby

View on GitHub
vcr_cassettes/get_invoice.yml

Summary

Maintainability
Test Coverage
---
http_interactions:
- request:
    method: get
    uri: https://sandbox.moip.com.br/v2/invoices/INV-4C26A14CF75B
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Content-Type:
      - application/json
      Authorization:
      - OAuth s4g8gevtyo8w4jv95nr270dutjy5mq0
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Mon, 16 Nov 2015 15:56:31 GMT
      Server:
      - nginx/1.6.2
      Status:
      - 200 OK
      Content-Type:
      - application/json
      Content-Length:
      - '523'
      X-Content-Type-Options:
      - nosniff
    body:
      encoding: UTF-8
      string: '{"id":"INV-4C26A14CF75B","invoiceAmount":12610,"description":"teste","customer":{"email":"vagner.vieira@moip.com.br"},"checkoutPreferences":{"fundingInstruments":{"suppressBoleto":true},"installments":[{"quantity":[1,2]}],"suppressShippingAddress":true},"status":"DELIVERED","createdAt":"2015-11-16T13:51:15.000-02:00","updatedAt":"2015-11-16T13:51:15.000-02:00","_links":{"self":{"href":"https://sandbox.moip.com.br/v2/invoice/INV-4C26A14CF75B"},"checkout":"https://checkout-sandbox.moip.com.br/invoice/INV-4C26A14CF75B"}}'
    http_version: 
  recorded_at: Mon, 16 Nov 2015 15:56:31 GMT
recorded_with: VCR 2.9.3