bookingsync-api 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/Gemfile +2 -1
- data/Guardfile +3 -6
- data/README.md +11 -3
- data/bookingsync-api.gemspec +2 -2
- data/lib/bookingsync/api.rb +0 -2
- data/lib/bookingsync/api/client.rb +151 -54
- data/lib/bookingsync/api/client/amenities.rb +22 -0
- data/lib/bookingsync/api/client/billing_addresses.rb +22 -0
- data/lib/bookingsync/api/client/bookings.rb +7 -9
- data/lib/bookingsync/api/client/bookings_payments.rb +22 -0
- data/lib/bookingsync/api/client/clients.rb +43 -0
- data/lib/bookingsync/api/client/destinations.rb +22 -0
- data/lib/bookingsync/api/client/inquiries.rb +2 -2
- data/lib/bookingsync/api/client/payments.rb +53 -0
- data/lib/bookingsync/api/client/periods.rb +54 -0
- data/lib/bookingsync/api/client/photos.rb +22 -0
- data/lib/bookingsync/api/client/rates.rb +23 -0
- data/lib/bookingsync/api/client/rates_rules.rb +22 -0
- data/lib/bookingsync/api/client/rates_tables.rb +53 -0
- data/lib/bookingsync/api/client/rental_agreements.rb +50 -0
- data/lib/bookingsync/api/client/rentals.rb +39 -1
- data/lib/bookingsync/api/client/reviews.rb +31 -0
- data/lib/bookingsync/api/client/seasons.rb +53 -0
- data/lib/bookingsync/api/client/special_offers.rb +54 -0
- data/lib/bookingsync/api/relation.rb +87 -0
- data/lib/bookingsync/api/resource.rb +58 -0
- data/lib/bookingsync/api/response.rb +79 -0
- data/lib/bookingsync/api/serializer.rb +100 -0
- data/lib/bookingsync/api/version.rb +1 -1
- data/spec/bookingsync/api/client/amenities_spec.rb +12 -0
- data/spec/bookingsync/api/client/billing_addresses_spec.rb +12 -0
- data/spec/bookingsync/api/client/billings_payments_spec.rb +12 -0
- data/spec/bookingsync/api/client/bookings_spec.rb +10 -8
- data/spec/bookingsync/api/client/clients_spec.rb +55 -0
- data/spec/bookingsync/api/client/destinations_spec.rb +12 -0
- data/spec/bookingsync/api/client/inquiries_spec.rb +1 -1
- data/spec/bookingsync/api/client/payments_spec.rb +56 -0
- data/spec/bookingsync/api/client/periods_spec.rb +61 -0
- data/spec/bookingsync/api/client/photos_spec.rb +12 -0
- data/spec/bookingsync/api/client/rates_rules_spec.rb +13 -0
- data/spec/bookingsync/api/client/rates_spec.rb +12 -0
- data/spec/bookingsync/api/client/rates_tables_spec.rb +59 -0
- data/spec/bookingsync/api/client/rental_agreements_spec.rb +64 -0
- data/spec/bookingsync/api/client/rentals_spec.rb +56 -6
- data/spec/bookingsync/api/client/reviews_spec.rb +33 -0
- data/spec/bookingsync/api/client/seasons_spec.rb +61 -0
- data/spec/bookingsync/api/client/special_offers_spec.rb +63 -0
- data/spec/bookingsync/api/client_spec.rb +31 -10
- data/spec/bookingsync/api/relation_spec.rb +72 -0
- data/spec/bookingsync/api/resource_spec.rb +79 -0
- data/spec/bookingsync/api/response_spec.rb +66 -0
- data/spec/cassettes/BookingSync_API_Client_Amenities/_amenities/returns_amenities.yml +72 -0
- data/spec/cassettes/BookingSync_API_Client_BillingAddresses/_billing_addresses/returns_billing_addresses.yml +65 -0
- data/spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_a_block/yields_block_with_batch_of_bookings.yml +12 -12
- data/spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_auto_paginate_true/returns_all_bookings_joined_from_many_requests.yml +12 -12
- data/spec/cassettes/BookingSync_API_Client_Bookings/_bookings/pagination/with_per_page_setting/returns_limited_number_of_bookings.yml +3 -3
- data/spec/cassettes/BookingSync_API_Client_Bookings/_clients/returns_clients.yml +66 -0
- data/spec/cassettes/BookingSync_API_Client_Bookings/_create_booking/creates_a_booking.yml +1 -1
- data/spec/cassettes/BookingSync_API_Client_Bookings/_create_client/creates_a_new_client.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml +18 -14
- data/spec/cassettes/BookingSync_API_Client_Bookings/_edit_client/updates_given_client_by_ID.yml +62 -0
- data/spec/cassettes/BookingSync_API_Client_BookingsPayments/_bookings_payments/returns_bookings_payments.yml +65 -0
- data/spec/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_Inquiries/_create_inquiry/creates_a_new_inquiry.yml +1 -1
- data/spec/cassettes/BookingSync_API_Client_Inquiries/_inquiries/returns_inquiries.yml +1 -1
- data/spec/cassettes/BookingSync_API_Client_Payments/_cancel_payment/cancels_given_payment.yml +57 -0
- data/spec/cassettes/BookingSync_API_Client_Payments/_create_payment/creates_a_new_payment.yml +63 -0
- data/spec/cassettes/BookingSync_API_Client_Payments/_edit_payment/updates_given_payment_by_ID.yml +61 -0
- data/spec/cassettes/BookingSync_API_Client_Payments/_payments/returns_payments.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_Periods/_create_period/creates_a_new_period.yml +63 -0
- data/spec/cassettes/BookingSync_API_Client_Periods/_delete_period/deletes_given_period.yml +70 -0
- data/spec/cassettes/BookingSync_API_Client_Periods/_edit_period/updates_given_period_by_ID.yml +61 -0
- data/spec/cassettes/BookingSync_API_Client_Periods/_periods/returns_periods.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_Photos/_photos/returns_photos.yml +72 -0
- data/spec/cassettes/BookingSync_API_Client_Rates/_rates/returns_rates.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_RatesRules/_rates_rules/returns_rates_rules.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_RatesTables/_create_rates_table/creates_a_new_rates_table.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_RatesTables/_delete_rates_table/deletes_given_rates_table.yml +57 -0
- data/spec/cassettes/BookingSync_API_Client_RatesTables/_edit_rates_table/updates_given_rates_table_by_ID.yml +62 -0
- data/spec/cassettes/BookingSync_API_Client_RatesTables/_rates_tables/returns_rates_tables.yml +74 -0
- data/spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement/creates_a_new_rental_agreement.yml +63 -0
- data/spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_booking/creates_a_new_rental_agreement.yml +63 -0
- data/spec/cassettes/BookingSync_API_Client_RentalAgreements/_create_rental_agreement_for_rental/creates_a_new_rental_agreement.yml +63 -0
- data/spec/cassettes/BookingSync_API_Client_RentalAgreements/_rental_agreements/returns_rental_agreements.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_Rentals/_cancel_rental/cancels_given_rental.yml +57 -0
- data/spec/cassettes/BookingSync_API_Client_Rentals/_create_rental/creates_a_new_rental.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_Rentals/_edit_rental/updates_given_rental_by_ID.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_Rentals/_rental/returns_a_single_rental.yml +67 -0
- data/spec/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_associated_photos.yml +152 -0
- data/spec/cassettes/BookingSync_API_Client_Rentals/_rentals/links/returns_links_to_associated_resources.yml +91 -0
- data/spec/cassettes/BookingSync_API_Client_Rentals/_rentals/returns_rentals.yml +45 -20
- data/spec/cassettes/BookingSync_API_Client_Reviews/_create_review/creates_a_new_review.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_Reviews/_reviews/returns_reviews.yml +83 -0
- data/spec/cassettes/BookingSync_API_Client_Seasons/_create_season/creates_a_new_season.yml +64 -0
- data/spec/cassettes/BookingSync_API_Client_Seasons/_delete_season/deletes_given_season.yml +57 -0
- data/spec/cassettes/BookingSync_API_Client_Seasons/_edit_season/updates_given_season_by_ID.yml +62 -0
- data/spec/cassettes/BookingSync_API_Client_Seasons/_seasons/returns_seasons.yml +74 -0
- data/spec/cassettes/BookingSync_API_Client_SpecialOffers/_create_special_offer/creates_a_new_special_offer.yml +63 -0
- data/spec/cassettes/BookingSync_API_Client_SpecialOffers/_delete_special_offer/deletes_given_special_offer.yml +57 -0
- data/spec/cassettes/BookingSync_API_Client_SpecialOffers/_edit_special_offer/updates_given_special_offer_by_ID.yml +61 -0
- data/spec/cassettes/{BookingSync_API_Client_Rentals/_rentals/with_specified_fields_in_options/returns_rentals_with_filtered_fields.yml → BookingSync_API_Client_SpecialOffers/_special_offers/returns_special_offers.yml} +17 -10
- data/spec/spec_helper.rb +1 -0
- metadata +143 -7
- data/lib/bookingsync/ext/resource.rb +0 -9
data/spec/cassettes/BookingSync_API_Client_Bookings/_edit_booking/updates_given_booking_by_ID.yml
CHANGED
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://www.bookingsync.com/api/v3/bookings/50
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string:
|
8
|
+
string: '{"bookings":[{"end_at":"2019-03-25 21:45:00 UTC"}]}'
|
9
9
|
headers:
|
10
10
|
User-Agent:
|
11
11
|
- Faraday v0.9.0
|
@@ -19,39 +19,43 @@ http_interactions:
|
|
19
19
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
20
|
response:
|
21
21
|
status:
|
22
|
-
code:
|
23
|
-
message:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
24
|
headers:
|
25
25
|
X-Ratelimit-Limit:
|
26
26
|
- '1000'
|
27
27
|
X-Ratelimit-Reset:
|
28
|
-
- '
|
28
|
+
- '1398106800'
|
29
29
|
X-Ratelimit-Remaining:
|
30
30
|
- '994'
|
31
31
|
Access-Control-Allow-Origin:
|
32
|
-
-
|
32
|
+
- '*'
|
33
33
|
Access-Control-Request-Method:
|
34
|
-
-
|
34
|
+
- '*'
|
35
|
+
Content-Type:
|
36
|
+
- application/vnd.api+json; charset=utf-8
|
35
37
|
X-Ua-Compatible:
|
36
38
|
- IE=Edge
|
39
|
+
Etag:
|
40
|
+
- '"debe38042667808d7c3c70691861b7b3"'
|
37
41
|
Cache-Control:
|
38
|
-
-
|
42
|
+
- max-age=0, private, must-revalidate
|
39
43
|
P3p:
|
40
44
|
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
41
45
|
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
42
46
|
Set-Cookie:
|
43
|
-
- _BookingSync_session=
|
47
|
+
- _BookingSync_session=4ae5f913d9abed6782c48f843b010579; path=/; secure; HttpOnly
|
44
48
|
X-Request-Id:
|
45
|
-
-
|
49
|
+
- ce1bf7d742d4f0f18a1342931830bc4b
|
46
50
|
X-Runtime:
|
47
|
-
- '
|
51
|
+
- '2.227385'
|
48
52
|
Date:
|
49
|
-
-
|
53
|
+
- Mon, 21 Apr 2014 18:33:54 GMT
|
50
54
|
Connection:
|
51
55
|
- close
|
52
56
|
body:
|
53
57
|
encoding: UTF-8
|
54
|
-
string: ''
|
58
|
+
string: '{"bookings":[{"id":50,"account_id":1,"rental_id":20,"start_at":"2019-03-20T21:45:00Z","end_at":"2019-03-25T21:45:00Z"}]}'
|
55
59
|
http_version:
|
56
|
-
recorded_at:
|
57
|
-
recorded_with: VCR 2.
|
60
|
+
recorded_at: Mon, 21 Apr 2014 18:33:54 GMT
|
61
|
+
recorded_with: VCR 2.9.0
|
data/spec/cassettes/BookingSync_API_Client_Bookings/_edit_client/updates_given_client_by_ID.yml
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://www.bookingsync.com/api/v3/clients/2
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"clients":[{"fullname":"Gary Smith"}]}'
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/vnd.api+json
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.api+json
|
16
|
+
Authorization:
|
17
|
+
- Bearer <<ACCESS_TOKEN>>
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
X-Ratelimit-Limit:
|
26
|
+
- '1000'
|
27
|
+
X-Ratelimit-Reset:
|
28
|
+
- '1398106800'
|
29
|
+
X-Ratelimit-Remaining:
|
30
|
+
- '993'
|
31
|
+
Access-Control-Allow-Origin:
|
32
|
+
- '*'
|
33
|
+
Access-Control-Request-Method:
|
34
|
+
- '*'
|
35
|
+
Content-Type:
|
36
|
+
- application/vnd.api+json; charset=utf-8
|
37
|
+
X-Ua-Compatible:
|
38
|
+
- IE=Edge
|
39
|
+
Etag:
|
40
|
+
- '"611bdb1657961179c09b8dab364b46ac"'
|
41
|
+
Cache-Control:
|
42
|
+
- max-age=0, private, must-revalidate
|
43
|
+
P3p:
|
44
|
+
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
45
|
+
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
46
|
+
Set-Cookie:
|
47
|
+
- _BookingSync_session=d5f491c8b46b52f121c4eb9b8c4d0f48; path=/; secure; HttpOnly
|
48
|
+
X-Request-Id:
|
49
|
+
- 94ffc7815ad532ba844b8bb11d957b0d
|
50
|
+
X-Runtime:
|
51
|
+
- '0.307201'
|
52
|
+
Date:
|
53
|
+
- Mon, 21 Apr 2014 18:40:41 GMT
|
54
|
+
Connection:
|
55
|
+
- close
|
56
|
+
body:
|
57
|
+
encoding: UTF-8
|
58
|
+
string: '{"clients":[{"id":2,"email":"giuseppe.king@walker.us","phone":"","mobile":null,"fax":null,"address1":"","address2":null,"city":"","state":"","zip":"","country_code":"","account_id":1,"created_at":"2014-02-11T09:13:19Z","updated_at":"2014-04-14T22:23:54Z","fullname":"Gary
|
59
|
+
Smith","notes":null}]}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Mon, 21 Apr 2014 18:40:41 GMT
|
62
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,65 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.bookingsync.com/api/v3/bookings_payments
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/vnd.api+json
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.api+json
|
16
|
+
Authorization:
|
17
|
+
- Bearer <<ACCESS_TOKEN>>
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
X-Ratelimit-Limit:
|
26
|
+
- '1000'
|
27
|
+
X-Ratelimit-Reset:
|
28
|
+
- '1398164400'
|
29
|
+
X-Ratelimit-Remaining:
|
30
|
+
- '991'
|
31
|
+
Link:
|
32
|
+
- "<https://www.bookingsync.com/api/v3/bookings_payments?page=1>; rel=\"first\",
|
33
|
+
<https://www.bookingsync.com/api/v3/bookings_payments?page=2>; rel=\"next\",
|
34
|
+
<https://www.bookingsync.com/api/v3/bookings_payments?page=2>; rel=\"last\""
|
35
|
+
X-Total-Pages:
|
36
|
+
- '2'
|
37
|
+
Access-Control-Allow-Origin:
|
38
|
+
- "*"
|
39
|
+
Access-Control-Request-Method:
|
40
|
+
- "*"
|
41
|
+
Content-Type:
|
42
|
+
- application/vnd.api+json; charset=utf-8
|
43
|
+
X-Ua-Compatible:
|
44
|
+
- IE=Edge
|
45
|
+
Etag:
|
46
|
+
- "\"c03d6b64570c9f6cfdd723c69bd55312\""
|
47
|
+
Cache-Control:
|
48
|
+
- max-age=0, private, must-revalidate
|
49
|
+
P3p:
|
50
|
+
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
51
|
+
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
52
|
+
X-Request-Id:
|
53
|
+
- ba649ff58ee7c5480e13b0a1fc48d147
|
54
|
+
X-Runtime:
|
55
|
+
- '0.601282'
|
56
|
+
Date:
|
57
|
+
- Tue, 22 Apr 2014 10:36:22 GMT
|
58
|
+
Connection:
|
59
|
+
- close
|
60
|
+
body:
|
61
|
+
encoding: UTF-8
|
62
|
+
string: "{\"bookings_payments\":[{\"id\":2,\"account_id\":1,\"booking_id\":5,\"payment_id\":2,\"amount\":125200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:42Z\",\"updated_at\":\"2014-04-14T13:18:42Z\"},{\"id\":10,\"account_id\":1,\"booking_id\":11,\"payment_id\":10,\"amount\":47300,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:52Z\",\"updated_at\":\"2014-04-14T13:18:52Z\"},{\"id\":11,\"account_id\":1,\"booking_id\":11,\"payment_id\":11,\"amount\":189200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:52Z\",\"updated_at\":\"2014-04-14T13:18:52Z\"},{\"id\":12,\"account_id\":1,\"booking_id\":11,\"payment_id\":12,\"amount\":236500,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:52Z\",\"updated_at\":\"2014-04-14T13:18:52Z\"},{\"id\":13,\"account_id\":1,\"booking_id\":12,\"payment_id\":13,\"amount\":118800,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:52Z\",\"updated_at\":\"2014-04-14T13:18:52Z\"},{\"id\":14,\"account_id\":1,\"booking_id\":12,\"payment_id\":14,\"amount\":79200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:52Z\",\"updated_at\":\"2014-04-14T13:18:52Z\"},{\"id\":18,\"account_id\":1,\"booking_id\":14,\"payment_id\":18,\"amount\":90000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:53Z\",\"updated_at\":\"2014-04-14T13:18:53Z\"},{\"id\":19,\"account_id\":1,\"booking_id\":15,\"payment_id\":19,\"amount\":117200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:53Z\",\"updated_at\":\"2014-04-14T13:18:53Z\"},{\"id\":20,\"account_id\":1,\"booking_id\":15,\"payment_id\":20,\"amount\":58600,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:53Z\",\"updated_at\":\"2014-04-14T13:18:53Z\"},{\"id\":21,\"account_id\":1,\"booking_id\":15,\"payment_id\":21,\"amount\":117200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:53Z\",\"updated_at\":\"2014-04-14T13:18:53Z\"},{\"id\":23,\"account_id\":1,\"booking_id\":17,\"payment_id\":23,\"amount\":6200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:57Z\",\"updated_at\":\"2014-04-14T13:18:57Z\"},{\"id\":24,\"account_id\":1,\"booking_id\":17,\"payment_id\":24,\"amount\":24800,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:57Z\",\"updated_at\":\"2014-04-14T13:18:57Z\"},{\"id\":28,\"account_id\":1,\"booking_id\":20,\"payment_id\":28,\"amount\":34200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:58Z\",\"updated_at\":\"2014-04-14T13:18:58Z\"},{\"id\":29,\"account_id\":1,\"booking_id\":20,\"payment_id\":29,\"amount\":45600,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:18:58Z\",\"updated_at\":\"2014-04-14T13:18:58Z\"},{\"id\":30,\"account_id\":1,\"booking_id\":21,\"payment_id\":30,\"amount\":31000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:02Z\",\"updated_at\":\"2014-04-14T13:19:02Z\"},{\"id\":31,\"account_id\":1,\"booking_id\":21,\"payment_id\":31,\"amount\":31000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:02Z\",\"updated_at\":\"2014-04-14T13:19:02Z\"},{\"id\":34,\"account_id\":1,\"booking_id\":24,\"payment_id\":34,\"amount\":8400,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:03Z\",\"updated_at\":\"2014-04-14T13:19:03Z\"},{\"id\":35,\"account_id\":1,\"booking_id\":24,\"payment_id\":35,\"amount\":4200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:03Z\",\"updated_at\":\"2014-04-14T13:19:03Z\"},{\"id\":36,\"account_id\":1,\"booking_id\":25,\"payment_id\":36,\"amount\":15400,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:03Z\",\"updated_at\":\"2014-04-14T13:19:03Z\"},{\"id\":37,\"account_id\":1,\"booking_id\":26,\"payment_id\":37,\"amount\":27200,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:07Z\",\"updated_at\":\"2014-04-14T13:19:07Z\"},{\"id\":38,\"account_id\":1,\"booking_id\":26,\"payment_id\":38,\"amount\":40800,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:07Z\",\"updated_at\":\"2014-04-14T13:19:07Z\"},{\"id\":39,\"account_id\":1,\"booking_id\":26,\"payment_id\":39,\"amount\":68000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":40,\"account_id\":1,\"booking_id\":27,\"payment_id\":40,\"amount\":22300,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":41,\"account_id\":1,\"booking_id\":27,\"payment_id\":41,\"amount\":22300,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":42,\"account_id\":1,\"booking_id\":27,\"payment_id\":42,\"amount\":178400,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":44,\"account_id\":1,\"booking_id\":29,\"payment_id\":44,\"amount\":66300,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":45,\"account_id\":1,\"booking_id\":30,\"payment_id\":45,\"amount\":26400,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":46,\"account_id\":1,\"booking_id\":30,\"payment_id\":46,\"amount\":26400,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":70,\"account_id\":1,\"booking_id\":45,\"payment_id\":70,\"amount\":23000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:24Z\",\"updated_at\":\"2014-04-14T13:19:24Z\"},{\"id\":71,\"account_id\":1,\"booking_id\":45,\"payment_id\":71,\"amount\":23000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:24Z\",\"updated_at\":\"2014-04-14T13:19:24Z\"},{\"id\":79,\"account_id\":1,\"booking_id\":50,\"payment_id\":79,\"amount\":25000,\"currency\":\"EUR\",\"created_at\":\"2014-04-14T13:19:29Z\",\"updated_at\":\"2014-04-14T13:19:29Z\"},{\"id\":106,\"account_id\":1,\"booking_id\":71,\"payment_id\":106,\"amount\":100000,\"currency\":\"EUR\",\"created_at\":\"2014-04-22T10:16:17Z\",\"updated_at\":\"2014-04-22T10:16:17Z\"},{\"id\":1,\"account_id\":1,\"booking_id\":2,\"payment_id\":1,\"amount\":33000,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:42Z\",\"updated_at\":\"2014-04-14T13:18:42Z\"},{\"id\":8,\"account_id\":1,\"booking_id\":10,\"payment_id\":8,\"amount\":38400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:47Z\",\"updated_at\":\"2014-04-14T13:18:47Z\"},{\"id\":9,\"account_id\":1,\"booking_id\":10,\"payment_id\":9,\"amount\":51200,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:47Z\",\"updated_at\":\"2014-04-14T13:18:47Z\"},{\"id\":22,\"account_id\":1,\"booking_id\":16,\"payment_id\":22,\"amount\":18400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:57Z\",\"updated_at\":\"2014-04-14T13:18:57Z\"},{\"id\":25,\"account_id\":1,\"booking_id\":19,\"payment_id\":25,\"amount\":10500,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:58Z\",\"updated_at\":\"2014-04-14T13:18:58Z\"},{\"id\":26,\"account_id\":1,\"booking_id\":19,\"payment_id\":26,\"amount\":31500,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:58Z\",\"updated_at\":\"2014-04-14T13:18:58Z\"},{\"id\":27,\"account_id\":1,\"booking_id\":19,\"payment_id\":27,\"amount\":63000,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:18:58Z\",\"updated_at\":\"2014-04-14T13:18:58Z\"},{\"id\":43,\"account_id\":1,\"booking_id\":28,\"payment_id\":43,\"amount\":43800,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:08Z\",\"updated_at\":\"2014-04-14T13:19:08Z\"},{\"id\":52,\"account_id\":1,\"booking_id\":33,\"payment_id\":52,\"amount\":58400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:13Z\",\"updated_at\":\"2014-04-14T13:19:13Z\"},{\"id\":53,\"account_id\":1,\"booking_id\":33,\"payment_id\":53,\"amount\":29200,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:13Z\",\"updated_at\":\"2014-04-14T13:19:13Z\"},{\"id\":54,\"account_id\":1,\"booking_id\":34,\"payment_id\":54,\"amount\":164400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:14Z\",\"updated_at\":\"2014-04-14T13:19:14Z\"},{\"id\":55,\"account_id\":1,\"booking_id\":34,\"payment_id\":55,\"amount\":164400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:14Z\",\"updated_at\":\"2014-04-14T13:19:14Z\"},{\"id\":65,\"account_id\":1,\"booking_id\":41,\"payment_id\":65,\"amount\":79600,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:23Z\",\"updated_at\":\"2014-04-14T13:19:23Z\"},{\"id\":66,\"account_id\":1,\"booking_id\":41,\"payment_id\":66,\"amount\":159200,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:23Z\",\"updated_at\":\"2014-04-14T13:19:23Z\"},{\"id\":67,\"account_id\":1,\"booking_id\":41,\"payment_id\":67,\"amount\":159200,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:23Z\",\"updated_at\":\"2014-04-14T13:19:23Z\"},{\"id\":68,\"account_id\":1,\"booking_id\":42,\"payment_id\":68,\"amount\":132000,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:24Z\",\"updated_at\":\"2014-04-14T13:19:24Z\"},{\"id\":72,\"account_id\":1,\"booking_id\":46,\"payment_id\":72,\"amount\":68400,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:28Z\",\"updated_at\":\"2014-04-14T13:19:28Z\"},{\"id\":73,\"account_id\":1,\"booking_id\":46,\"payment_id\":73,\"amount\":91200,\"currency\":\"GBP\",\"created_at\":\"2014-04-14T13:19:28Z\",\"updated_at\":\"2014-04-14T13:19:28Z\"}]}"
|
63
|
+
http_version:
|
64
|
+
recorded_at: Tue, 22 Apr 2014 10:36:22 GMT
|
65
|
+
recorded_with: VCR 2.9.0
|
data/spec/cassettes/BookingSync_API_Client_Destinations/_destinations/returns_destinations.yml
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://www.bookingsync.com/api/v3/destinations
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/vnd.api+json
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.api+json
|
16
|
+
Authorization:
|
17
|
+
- Bearer <<ACCESS_TOKEN>>
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
X-Ratelimit-Limit:
|
26
|
+
- '1000'
|
27
|
+
X-Ratelimit-Reset:
|
28
|
+
- '1397116800'
|
29
|
+
X-Ratelimit-Remaining:
|
30
|
+
- '999'
|
31
|
+
Link:
|
32
|
+
- <https://www.bookingsync.com/api/v3/destinations?page=1>; rel="first", <https://www.bookingsync.com/api/v3/destinations?page=1>;
|
33
|
+
rel="last"
|
34
|
+
X-Total-Pages:
|
35
|
+
- '1'
|
36
|
+
Access-Control-Allow-Origin:
|
37
|
+
- ! '*'
|
38
|
+
Access-Control-Request-Method:
|
39
|
+
- ! '*'
|
40
|
+
Content-Type:
|
41
|
+
- application/vnd.api+json; charset=utf-8
|
42
|
+
X-Ua-Compatible:
|
43
|
+
- IE=Edge
|
44
|
+
Etag:
|
45
|
+
- ! '"6f776a7ba9a6d3d0216b837c6330f1cd"'
|
46
|
+
Cache-Control:
|
47
|
+
- max-age=0, private, must-revalidate
|
48
|
+
P3p:
|
49
|
+
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
50
|
+
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
51
|
+
X-Request-Id:
|
52
|
+
- 1823c29f590eea8e29c0c4cf68f0c753
|
53
|
+
X-Runtime:
|
54
|
+
- '0.471049'
|
55
|
+
Date:
|
56
|
+
- Thu, 10 Apr 2014 07:25:25 GMT
|
57
|
+
Connection:
|
58
|
+
- close
|
59
|
+
body:
|
60
|
+
encoding: US-ASCII
|
61
|
+
string: ! '{"destinations":[{"id":1,"name":{"en":"Name-1"},"fullname":{"en":"Name-1"},"permalink":{"en":"name-1"},"aliases":{"en":null}},{"id":2,"name":{"en":"Name-2"},"fullname":{"en":"Name-2"},"permalink":{"en":"name-2"},"aliases":{"en":null}},{"id":3,"name":{"en":"Name-3"},"fullname":{"en":"Name-3"},"permalink":{"en":"name-3"},"aliases":{"en":null}},{"id":4,"name":{"en":"Name-4"},"fullname":{"en":"Name-4"},"permalink":{"en":"name-4"},"aliases":{"en":null}},{"id":5,"name":{"en":"Name-5"},"fullname":{"en":"Name-5"},"permalink":{"en":"name-5"},"aliases":{"en":null}},{"id":6,"name":{"en":"Name-6"},"fullname":{"en":"Name-6"},"permalink":{"en":"name-6"},"aliases":{"en":null}},{"id":7,"name":{"en":"Name-7"},"fullname":{"en":"Name-7"},"permalink":{"en":"name-7"},"aliases":{"en":null}},{"id":8,"name":{"en":"Name-8"},"fullname":{"en":"Name-8"},"permalink":{"en":"name-8"},"aliases":{"en":null}},{"id":9,"name":{"en":"Name-9"},"fullname":{"en":"Name-9"},"permalink":{"en":"name-9"},"aliases":{"en":null}},{"id":10,"name":{"en":"Name-10"},"fullname":{"en":"Name-10"},"permalink":{"en":"name-10"},"aliases":{"en":null}}]}'
|
62
|
+
http_version:
|
63
|
+
recorded_at: Thu, 10 Apr 2014 07:25:25 GMT
|
64
|
+
recorded_with: VCR 2.9.0
|
@@ -29,7 +29,7 @@ http_interactions:
|
|
29
29
|
X-Ratelimit-Remaining:
|
30
30
|
- '996'
|
31
31
|
Link:
|
32
|
-
- "<https://www.bookingsync.com/api/v3/inquiries
|
32
|
+
- "<https://www.bookingsync.com/api/v3/inquiries?page=1>; rel=\"first\", <https://www.bookingsync.com/api/v3/inquiries?page=1>;
|
33
33
|
rel=\"last\""
|
34
34
|
X-Total-Pages:
|
35
35
|
- '1'
|
@@ -0,0 +1,57 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: https://www.bookingsync.com/api/v3/payments/10
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{}"
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/vnd.api+json
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.api+json
|
16
|
+
Authorization:
|
17
|
+
- Bearer <<ACCESS_TOKEN>>
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 204
|
23
|
+
message: No Content
|
24
|
+
headers:
|
25
|
+
X-Ratelimit-Limit:
|
26
|
+
- '1000'
|
27
|
+
X-Ratelimit-Reset:
|
28
|
+
- '1398171600'
|
29
|
+
X-Ratelimit-Remaining:
|
30
|
+
- '996'
|
31
|
+
Access-Control-Allow-Origin:
|
32
|
+
- "*"
|
33
|
+
Access-Control-Request-Method:
|
34
|
+
- "*"
|
35
|
+
X-Ua-Compatible:
|
36
|
+
- IE=Edge
|
37
|
+
Cache-Control:
|
38
|
+
- no-cache
|
39
|
+
P3p:
|
40
|
+
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
41
|
+
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
42
|
+
Set-Cookie:
|
43
|
+
- _BookingSync_session=5b9eae503e5a9650e212a76885b1e8f6; path=/; secure; HttpOnly
|
44
|
+
X-Request-Id:
|
45
|
+
- 6a1c787067395078f75d9f9ffabfb569
|
46
|
+
X-Runtime:
|
47
|
+
- '0.069542'
|
48
|
+
Date:
|
49
|
+
- Tue, 22 Apr 2014 12:00:20 GMT
|
50
|
+
Connection:
|
51
|
+
- close
|
52
|
+
body:
|
53
|
+
encoding: UTF-8
|
54
|
+
string: ''
|
55
|
+
http_version:
|
56
|
+
recorded_at: Tue, 22 Apr 2014 12:00:20 GMT
|
57
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://www.bookingsync.com/api/v3/payments
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{\"booking_id\":1,\"payments\":[{\"amount\":200,\"kind\":\"cash\"}]}"
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/vnd.api+json
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.api+json
|
16
|
+
Authorization:
|
17
|
+
- Bearer <<ACCESS_TOKEN>>
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 201
|
23
|
+
message: Created
|
24
|
+
headers:
|
25
|
+
X-Ratelimit-Limit:
|
26
|
+
- '1000'
|
27
|
+
X-Ratelimit-Reset:
|
28
|
+
- '1398171600'
|
29
|
+
X-Ratelimit-Remaining:
|
30
|
+
- '998'
|
31
|
+
Location:
|
32
|
+
- https://www.bookingsync.com/api/v3/payments/133
|
33
|
+
Access-Control-Allow-Origin:
|
34
|
+
- "*"
|
35
|
+
Access-Control-Request-Method:
|
36
|
+
- "*"
|
37
|
+
Content-Type:
|
38
|
+
- application/vnd.api+json; charset=utf-8
|
39
|
+
X-Ua-Compatible:
|
40
|
+
- IE=Edge
|
41
|
+
Etag:
|
42
|
+
- "\"16c1dde0499c08c9bbb1fce33583e670\""
|
43
|
+
Cache-Control:
|
44
|
+
- max-age=0, private, must-revalidate
|
45
|
+
P3p:
|
46
|
+
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
47
|
+
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
48
|
+
Set-Cookie:
|
49
|
+
- _BookingSync_session=6f772ae8b0e4354bd8ed5d1f2220775f; path=/; secure; HttpOnly
|
50
|
+
X-Request-Id:
|
51
|
+
- 9ffe223afec21cd64270726ccb4f757a
|
52
|
+
X-Runtime:
|
53
|
+
- '1.456223'
|
54
|
+
Date:
|
55
|
+
- Tue, 22 Apr 2014 12:00:20 GMT
|
56
|
+
Connection:
|
57
|
+
- close
|
58
|
+
body:
|
59
|
+
encoding: UTF-8
|
60
|
+
string: "{\"links\":{\"payments.billing_address\":\"https://www.bookingsync.com/api/v3/billing_addresses/{payments.billing_address}\",\"payments.bookings\":\"https://www.bookingsync.com/api/v3/bookings/{payments.bookings}\",\"payments.bookings_payments\":\"https://www.bookingsync.com/api/v3/bookings_payments/{payments.bookings_payments}\"},\"payments\":[{\"links\":{\"billing_address\":null,\"bookings\":[1],\"bookings_payments\":[133]},\"id\":133,\"account_id\":1,\"transaction_id\":null,\"order_id\":null,\"card\":null,\"amount\":200,\"currency\":\"EUR\",\"kind\":\"cash\",\"fullname\":null,\"email\":null,\"locale\":null,\"ip\":null,\"test\":null,\"notes\":null,\"paid_at\":\"2014-04-22T12:00:19Z\",\"created_at\":\"2014-04-22T12:00:19Z\",\"updated_at\":\"2014-04-22T12:00:19Z\",\"rejected_at\":null,\"canceled_at\":null}]}"
|
61
|
+
http_version:
|
62
|
+
recorded_at: Tue, 22 Apr 2014 12:00:20 GMT
|
63
|
+
recorded_with: VCR 2.9.0
|
data/spec/cassettes/BookingSync_API_Client_Payments/_edit_payment/updates_given_payment_by_ID.yml
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: put
|
5
|
+
uri: https://www.bookingsync.com/api/v3/payments/2
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: "{\"payments\":[{\"kind\":\"cash\"}]}"
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.0
|
12
|
+
Accept:
|
13
|
+
- application/vnd.api+json
|
14
|
+
Content-Type:
|
15
|
+
- application/vnd.api+json
|
16
|
+
Authorization:
|
17
|
+
- Bearer <<ACCESS_TOKEN>>
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
X-Ratelimit-Limit:
|
26
|
+
- '1000'
|
27
|
+
X-Ratelimit-Reset:
|
28
|
+
- '1398171600'
|
29
|
+
X-Ratelimit-Remaining:
|
30
|
+
- '997'
|
31
|
+
Access-Control-Allow-Origin:
|
32
|
+
- "*"
|
33
|
+
Access-Control-Request-Method:
|
34
|
+
- "*"
|
35
|
+
Content-Type:
|
36
|
+
- application/vnd.api+json; charset=utf-8
|
37
|
+
X-Ua-Compatible:
|
38
|
+
- IE=Edge
|
39
|
+
Etag:
|
40
|
+
- "\"b4616121ed3149207705e62094986ecd\""
|
41
|
+
Cache-Control:
|
42
|
+
- max-age=0, private, must-revalidate
|
43
|
+
P3p:
|
44
|
+
- CP="OTI DSP COR CUR ADMo DEVo TAI PSAi PSDi IVAi IVDi CONi HISi TELi OTPi
|
45
|
+
OUR SAMi OTRo UNRo PUBi IND UNI STA"
|
46
|
+
Set-Cookie:
|
47
|
+
- _BookingSync_session=5a33b2e37c873d4547e1c0f685dfd273; path=/; secure; HttpOnly
|
48
|
+
X-Request-Id:
|
49
|
+
- a5f177660679091004a8a088a2d63d97
|
50
|
+
X-Runtime:
|
51
|
+
- '0.075107'
|
52
|
+
Date:
|
53
|
+
- Tue, 22 Apr 2014 12:00:20 GMT
|
54
|
+
Connection:
|
55
|
+
- close
|
56
|
+
body:
|
57
|
+
encoding: UTF-8
|
58
|
+
string: "{\"links\":{\"payments.billing_address\":\"https://www.bookingsync.com/api/v3/billing_addresses/{payments.billing_address}\",\"payments.bookings\":\"https://www.bookingsync.com/api/v3/bookings/{payments.bookings}\",\"payments.bookings_payments\":\"https://www.bookingsync.com/api/v3/bookings_payments/{payments.bookings_payments}\"},\"payments\":[{\"links\":{\"billing_address\":null,\"bookings\":[5],\"bookings_payments\":[2]},\"id\":2,\"account_id\":1,\"transaction_id\":null,\"order_id\":null,\"card\":null,\"amount\":125200,\"currency\":\"EUR\",\"kind\":\"cash\",\"fullname\":null,\"email\":null,\"locale\":null,\"ip\":null,\"test\":null,\"notes\":null,\"paid_at\":\"2014-04-07T13:18:42Z\",\"created_at\":\"2014-04-14T13:18:42Z\",\"updated_at\":\"2014-04-22T11:23:32Z\",\"rejected_at\":null,\"canceled_at\":null}]}"
|
59
|
+
http_version:
|
60
|
+
recorded_at: Tue, 22 Apr 2014 12:00:20 GMT
|
61
|
+
recorded_with: VCR 2.9.0
|