braintree/braintree_ruby — pull request #67 by rdj (2014-06-10 21:57:43+00:00)
Title: Expose credit card verifications when present

When a customer is created with the verify_card flag, the results of
credit card verification are included in the XML response, nested within
the credit card.

This change exposes the verification data, which was previously being
discarded.

The verification data is useful for apps that may wish to, for example,
store the AVS and CVV results for fraud analysis and chargeback response
without having to separately look up those values from the Braintree
dashboard.

**Regarding tests**

There did not seem to be unit specs for other nested attributes such
as CreditCard#subscriptions, so I did not add any unit spec for this
change. I am happy to do so if someone points me in the right direction.

***Example request/response***
```xml
[10/Jun/2014 21:34:49 UTC] PUT /customers/65888381

asdf
asdf
adsfasdfjkljl@kljklajsdf.com
asdf
425-555-1212

411111******1111
11
2023
***
asdf asdf

asdf

Redmond
WA
98052

true
true

[10/Jun/2014 21:34:49 UTC] PUT /customers/65888381 200
[10/Jun/2014 21:34:49 UTC] 200 OK

65888381
ddvd4vfqq4fq25hr
asdf
asdf
asdf
adsfasdfjkljl@kljklajsdf.com
425-555-1212

2014-05-29T18:03:04Z
2014-06-10T21:34:49Z

kf
65888381

asdf

Redmond
WA
98052

2014-06-10T21:34:49Z
2014-06-10T21:34:49Z

411111
Visa
asdf asdf
Unknown
Unknown
2014-06-10T21:34:49Z
65888381
US
Unknown
true
Unknown
11
2023
false
Unknown
https://assets.braintreegateway.com/payment_method_logo/visa.png?environment=sandbox&merchant_id=ddvd4vfqq4fq25hr
Unknown
1111
Unknown
Unknown

52yrxg
5e411b2769fb040245fac898962f685e
2014-06-10T21:34:49Z
false

verified
M

M
M

864nkjcdvmsmgw57
1000
Approved
hk3jvm

asdf

Redmond
WA
98052

52yrxg
411111
1111
Visa
11
2023
US
asdf asdf
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown

2014-06-10T21:34:48Z
2014-06-10T21:34:49Z

kf
65888381

asdf

Redmond
WA
98052

2014-06-10T21:34:49Z
2014-06-10T21:34:49Z

```