cq-spree-api-client 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/.rspec +2 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +11 -0
  6. data/CONTRIBUTING.md +8 -0
  7. data/Gemfile +3 -0
  8. data/LICENSE +22 -0
  9. data/README.md +61 -0
  10. data/Rakefile +7 -0
  11. data/fixtures/cassette_library/Spree_API_Client_Addresses/address/should_load_address.yml +59 -0
  12. data/fixtures/cassette_library/Spree_API_Client_Addresses/update_address/should_update_address.yml +61 -0
  13. data/fixtures/cassette_library/Spree_API_Client_Shipments/shipment_ready/should_set_a_shipment_to_ready.yml +55 -0
  14. data/fixtures/cassette_library/Spree_API_Client_Shipments/shipment_ready/should_set_a_shipment_to_ship.yml +56 -0
  15. data/fixtures/cassette_library/countries.yml +62 -0
  16. data/fixtures/cassette_library/orders.yml +55 -0
  17. data/fixtures/cassette_library/payments.yml +48 -0
  18. data/fixtures/cassette_library/products.yml +241 -0
  19. data/fixtures/cassette_library/properties.yml +56 -0
  20. data/fixtures/cassette_library/request.yml +241 -0
  21. data/fixtures/cassette_library/return_authorizations.yml +48 -0
  22. data/fixtures/cassette_library/stock_items.yml +1950 -0
  23. data/fixtures/cassette_library/taxonomies.yml +62 -0
  24. data/fixtures/cassette_library/taxons.yml +60 -0
  25. data/fixtures/cassette_library/variants.yml +58 -0
  26. data/fixtures/cassette_library/zones.yml +49 -0
  27. data/lib/spree-api-client.rb +65 -0
  28. data/lib/spree-api-client/addresses.rb +20 -0
  29. data/lib/spree-api-client/adjustments.rb +23 -0
  30. data/lib/spree-api-client/checkouts.rb +27 -0
  31. data/lib/spree-api-client/connection.rb +27 -0
  32. data/lib/spree-api-client/countries.rb +15 -0
  33. data/lib/spree-api-client/credit_cards.rb +20 -0
  34. data/lib/spree-api-client/error.rb +47 -0
  35. data/lib/spree-api-client/line_items.rb +19 -0
  36. data/lib/spree-api-client/option_types.rb +31 -0
  37. data/lib/spree-api-client/option_values.rb +31 -0
  38. data/lib/spree-api-client/orders.rb +56 -0
  39. data/lib/spree-api-client/payments.rb +44 -0
  40. data/lib/spree-api-client/products.rb +31 -0
  41. data/lib/spree-api-client/promotions.rb +15 -0
  42. data/lib/spree-api-client/properties.rb +31 -0
  43. data/lib/spree-api-client/request.rb +59 -0
  44. data/lib/spree-api-client/return_authorizations.rb +31 -0
  45. data/lib/spree-api-client/shipments.rb +15 -0
  46. data/lib/spree-api-client/stock_items.rb +31 -0
  47. data/lib/spree-api-client/stock_locations.rb +31 -0
  48. data/lib/spree-api-client/taxonomies.rb +31 -0
  49. data/lib/spree-api-client/taxons.rb +36 -0
  50. data/lib/spree-api-client/users.rb +31 -0
  51. data/lib/spree-api-client/variants.rb +31 -0
  52. data/lib/spree-api-client/version.rb +7 -0
  53. data/lib/spree-api-client/zones.rb +31 -0
  54. data/spec/addresses_spec.rb +21 -0
  55. data/spec/client_spec.rb +32 -0
  56. data/spec/countries_spec.rb +12 -0
  57. data/spec/orders_spec.rb +12 -0
  58. data/spec/payments_spec.rb +12 -0
  59. data/spec/products_spec.rb +12 -0
  60. data/spec/properties_spec.rb +12 -0
  61. data/spec/return_authorizations_spec.rb +12 -0
  62. data/spec/shipments_spec.rb +19 -0
  63. data/spec/spec_helper.rb +80 -0
  64. data/spec/stock_items_spec.rb +12 -0
  65. data/spec/support/vcr.rb +9 -0
  66. data/spec/taxonomies_spec.rb +12 -0
  67. data/spec/taxons_spec.rb +12 -0
  68. data/spec/variants_spec.rb +12 -0
  69. data/spec/zones_spec.rb +12 -0
  70. data/spree-api-client.gemspec +33 -0
  71. metadata +268 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 45e24a88c8b24f9b582412503a6de9047a7c194911f9d29b1673d1d29f0d1ff5
4
+ data.tar.gz: 5502329450cec215ca414cf02d6f0df952985b9051eb86a813edcc4ae5db66b3
5
+ SHA512:
6
+ metadata.gz: e072cb26bbdfcf8ce9e39b566b283b4fe8dc934696508c0c1278be3c3abb958a00584df316060ba16e8bd0efd313ff04db439ab68a53b5e08f4f12315a3486d3
7
+ data.tar.gz: f5a7c3f5585a931bccadb326194471edbfb5e4030a8d9055630e704195130442b8953f061641e2b96dafcc6b66554d6d7bbfcc533877a89b09df41635978d004
data/.gitignore ADDED
@@ -0,0 +1,19 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ .DS_Store
19
+ spec/dummy
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.2.2
data/.travis.yml ADDED
@@ -0,0 +1,11 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ - ruby-head
6
+ - jruby-18mode
7
+ - jruby-19mode
8
+ - jruby-head
9
+ - rbx-18mode
10
+ - rbx-19mode
11
+ - ree
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,8 @@
1
+ ## Contributing
2
+ * Fork the project.
3
+ * Make your feature addition or bug fix.
4
+ * Add tests for it. This is important so I don't break it in a
5
+ future version unintentionally.
6
+ * Commit, do not mess with rakefile, version, or history.
7
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
8
+ * Send a pull request. Bonus points for topic branches.
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Andrew Nesbitt
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,61 @@
1
+ # [Spree API Client](http://libraries.io/rubygems/spree-api-client)
2
+
3
+ [![Build Status](https://secure.travis-ci.org/andrew/spree-api-client.png)](https://travis-ci.org/andrew/spree-api-client)
4
+
5
+ ** Beware: very alpha and untested **
6
+
7
+ A rubygem for interacting with the Spree API: http://api.spreecommerce.com/v1/
8
+
9
+ Heavily inspired by the excellent Octokit: https://github.com/pengwynn/octokit
10
+
11
+ ## Installation
12
+
13
+ Add this line to your application's Gemfile:
14
+
15
+ gem 'spree-api-client'
16
+
17
+ And then execute:
18
+
19
+ $ bundle
20
+
21
+ Or install it yourself as:
22
+
23
+ $ gem install spree-api-client
24
+
25
+ ## Usage
26
+
27
+ client = Spree::API::Client.new('http://example/api', 'yourapitokenstring')
28
+ products = client.products
29
+
30
+ ## TODO
31
+
32
+ * More tests
33
+ * Mock web requests in tests
34
+ * documentation
35
+ * rdoc generation
36
+ * release to rubygems.org
37
+ * gemnasium
38
+ * code climate
39
+ * Error handling
40
+ * Autopagination?
41
+
42
+ ## Development
43
+
44
+ Source hosted at [GitHub](http://github.com/andrew/spree-api-client).
45
+ Report Issues/Feature requests on [GitHub Issues](http://github.com/andrew/spree-api-client/issues).
46
+
47
+ Tests can be ran with `rake spec`
48
+
49
+ ### Note on Patches/Pull Requests
50
+
51
+ * Fork the project.
52
+ * Make your feature addition or bug fix.
53
+ * Add tests for it. This is important so I don't break it in a
54
+ future version unintentionally.
55
+ * Commit, do not mess with rakefile, version, or history.
56
+ (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
57
+ * Send me a pull request. Bonus points for topic branches.
58
+
59
+ ## Copyright
60
+
61
+ Copyright (c) 2013 Andrew Nesbitt. See [LICENSE](https://github.com/andrew/spree-api-client/blob/master/LICENSE) for details.
data/Rakefile ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env rake
2
+ require 'bundler/gem_tasks'
3
+ require 'rspec/core/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new('spec')
6
+
7
+ task :default => :spec
@@ -0,0 +1,59 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:4000/store/api/orders/R123456789/addresses/2?locale=en-US&per_page=30
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.1
12
+ Accept:
13
+ - application/json
14
+ X-Spree-Token:
15
+ - b56019f04b61a50553ee323f5ab68c6b435871971e79c987
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: 'OK '
22
+ headers:
23
+ X-Frame-Options:
24
+ - SAMEORIGIN
25
+ X-Xss-Protection:
26
+ - 1; mode=block
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Etag:
32
+ - W/"b32b7b8f82d30190d9ca4d49b07e98fb"
33
+ Cache-Control:
34
+ - max-age=0, private, must-revalidate
35
+ X-Request-Id:
36
+ - 8e4dbc35-f386-4b34-af2e-8f6af3cae04d
37
+ X-Runtime:
38
+ - '0.297846'
39
+ Server:
40
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
41
+ Date:
42
+ - Thu, 09 Jul 2015 13:32:31 GMT
43
+ Content-Length:
44
+ - '485'
45
+ Connection:
46
+ - Keep-Alive
47
+ Set-Cookie:
48
+ - guest_token=Ijd5cU5FUkRpcGFXSlNuWFFTbWdtWFEi--3d27ef099947a34ccd594f20cf3e0030668129cd;
49
+ path=/; expires=Mon, 09 Jul 2035 13:32:31 -0000
50
+ body:
51
+ encoding: UTF-8
52
+ string: '{"id":2,"firstname":"Carrie","lastname":"Yundt","full_name":"Carrie
53
+ Yundt","address1":"2109 Bret Turnpike","address2":"Apt. 181","city":"Abernathy
54
+ City","zipcode":"16804","phone":"492.095.4181 x5681","company":null,"alternative_phone":null,"country_id":232,"state_id":3561,"state_name":null,"state_text":"NY","country":{"id":232,"iso_name":"UNITED
55
+ STATES","iso":"US","iso3":"USA","name":"United States","numcode":840},"state":{"id":3561,"name":"New
56
+ York","abbr":"NY","country_id":232}}'
57
+ http_version:
58
+ recorded_at: Thu, 09 Jul 2015 13:32:31 GMT
59
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,61 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: http://localhost:4000/store/api/orders/R123456789/addresses/2
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"address":{"city":"Abernathy City"},"locale":"en-US"}'
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.1
12
+ Accept:
13
+ - application/json
14
+ X-Spree-Token:
15
+ - b56019f04b61a50553ee323f5ab68c6b435871971e79c987
16
+ Content-Type:
17
+ - application/json
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-Frame-Options:
26
+ - SAMEORIGIN
27
+ X-Xss-Protection:
28
+ - 1; mode=block
29
+ X-Content-Type-Options:
30
+ - nosniff
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ Etag:
34
+ - W/"b32b7b8f82d30190d9ca4d49b07e98fb"
35
+ Cache-Control:
36
+ - max-age=0, private, must-revalidate
37
+ X-Request-Id:
38
+ - ad76da36-2166-46f4-9930-c3e5e5526663
39
+ X-Runtime:
40
+ - '0.292924'
41
+ Server:
42
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
43
+ Date:
44
+ - Thu, 09 Jul 2015 13:32:31 GMT
45
+ Content-Length:
46
+ - '485'
47
+ Connection:
48
+ - Keep-Alive
49
+ Set-Cookie:
50
+ - guest_token=ImRyZG5YYnFwNDNJN0R1LU9uT0doOEEi--36db94076b61712766783e9352a88d8ce73caf70;
51
+ path=/; expires=Mon, 09 Jul 2035 13:32:31 -0000
52
+ body:
53
+ encoding: UTF-8
54
+ string: '{"id":2,"firstname":"Carrie","lastname":"Yundt","full_name":"Carrie
55
+ Yundt","address1":"2109 Bret Turnpike","address2":"Apt. 181","city":"Abernathy
56
+ City","zipcode":"16804","phone":"492.095.4181 x5681","company":null,"alternative_phone":null,"country_id":232,"state_id":3561,"state_name":null,"state_text":"NY","country":{"id":232,"iso_name":"UNITED
57
+ STATES","iso":"US","iso3":"USA","name":"United States","numcode":840},"state":{"id":3561,"name":"New
58
+ York","abbr":"NY","country_id":232}}'
59
+ http_version:
60
+ recorded_at: Thu, 09 Jul 2015 13:32:31 GMT
61
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,55 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: http://localhost:4000/store/api/shipments/2/ready
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"locale":"en-US"}'
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.1
12
+ Accept:
13
+ - application/json
14
+ X-Spree-Token:
15
+ - b56019f04b61a50553ee323f5ab68c6b435871971e79c987
16
+ Content-Type:
17
+ - application/json
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 422
23
+ message: 'Unprocessable Entity '
24
+ headers:
25
+ X-Frame-Options:
26
+ - SAMEORIGIN
27
+ X-Xss-Protection:
28
+ - 1; mode=block
29
+ X-Content-Type-Options:
30
+ - nosniff
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ Cache-Control:
34
+ - no-cache
35
+ X-Request-Id:
36
+ - b403d2ba-bfbb-46aa-8692-cac9fb624a75
37
+ X-Runtime:
38
+ - '0.300253'
39
+ Server:
40
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
41
+ Date:
42
+ - Thu, 09 Jul 2015 13:39:11 GMT
43
+ Content-Length:
44
+ - '34'
45
+ Connection:
46
+ - Keep-Alive
47
+ Set-Cookie:
48
+ - guest_token=InhKc1l6aWZ0Zk5tbUdrRnE3WDNvVkEi--7cd1f441cd9817d44fd312cc13b5b47d9b92057c;
49
+ path=/; expires=Mon, 09 Jul 2035 13:39:11 -0000
50
+ body:
51
+ encoding: UTF-8
52
+ string: '{"error":"Cannot ready shipment."}'
53
+ http_version:
54
+ recorded_at: Thu, 09 Jul 2015 13:39:11 GMT
55
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,56 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: put
5
+ uri: http://localhost:4000/store/api/shipments/2/ship
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"locale":"en-US"}'
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.1
12
+ Accept:
13
+ - application/json
14
+ X-Spree-Token:
15
+ - b56019f04b61a50553ee323f5ab68c6b435871971e79c987
16
+ Content-Type:
17
+ - application/json
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 422
23
+ message: 'Unprocessable Entity '
24
+ headers:
25
+ X-Frame-Options:
26
+ - SAMEORIGIN
27
+ X-Xss-Protection:
28
+ - 1; mode=block
29
+ X-Content-Type-Options:
30
+ - nosniff
31
+ Content-Type:
32
+ - application/json; charset=utf-8
33
+ Cache-Control:
34
+ - no-cache
35
+ X-Request-Id:
36
+ - 85d61f8b-bf09-4156-8b84-1713739c72e8
37
+ X-Runtime:
38
+ - '0.075444'
39
+ Server:
40
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
41
+ Date:
42
+ - Thu, 09 Jul 2015 13:39:11 GMT
43
+ Content-Length:
44
+ - '113'
45
+ Connection:
46
+ - Keep-Alive
47
+ Set-Cookie:
48
+ - guest_token=IjRXVG1GczZNcXZpLXJtZDVFQXR6SVEi--92d3f0b704685afd73f415426ac71491cea98365;
49
+ path=/; expires=Mon, 09 Jul 2035 13:39:11 -0000
50
+ body:
51
+ encoding: UTF-8
52
+ string: '{"exception":"Cannot transition state via :ship from :pending (Reason(s):
53
+ State cannot transition via \"ship\")"}'
54
+ http_version:
55
+ recorded_at: Thu, 09 Jul 2015 13:39:11 GMT
56
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,62 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://localhost:4000/store/api/countries?locale=en-US&per_page=30
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.9.1
12
+ Accept:
13
+ - application/json
14
+ X-Spree-Token:
15
+ - b56019f04b61a50553ee323f5ab68c6b435871971e79c987
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ response:
19
+ status:
20
+ code: 200
21
+ message: 'OK '
22
+ headers:
23
+ X-Frame-Options:
24
+ - SAMEORIGIN
25
+ X-Xss-Protection:
26
+ - 1; mode=block
27
+ X-Content-Type-Options:
28
+ - nosniff
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Etag:
32
+ - '"428f081e3f65fd4acc0a92955fc70747"'
33
+ Cache-Control:
34
+ - max-age=0, private, must-revalidate
35
+ X-Request-Id:
36
+ - d472bf32-fb2d-4a4d-bb69-a9d831437ef4
37
+ X-Runtime:
38
+ - '0.096933'
39
+ Server:
40
+ - WEBrick/1.3.1 (Ruby/2.2.2/2015-04-13)
41
+ Date:
42
+ - Wed, 08 Jul 2015 15:48:52 GMT
43
+ Content-Length:
44
+ - '2802'
45
+ Connection:
46
+ - Keep-Alive
47
+ Set-Cookie:
48
+ - guest_token=IlktOWp4QzhwVnllUlZvTUdxYVg0cHci--0894f31543d298514e717de16954ed48431402de;
49
+ path=/; expires=Sun, 08 Jul 2035 15:48:52 -0000
50
+ body:
51
+ encoding: UTF-8
52
+ string: '{"count":30,"current_page":1,"pages":9,"countries":[{"id":3,"iso_name":"AFGHANISTAN","iso":"AF","iso3":"AFG","name":"Afghanistan","numcode":4},{"id":6,"iso_name":"ALBANIA","iso":"AL","iso3":"ALB","name":"Albania","numcode":8},{"id":62,"iso_name":"ALGERIA","iso":"DZ","iso3":"DZA","name":"Algeria","numcode":12},{"id":11,"iso_name":"AMERICAN
53
+ SAMOA","iso":"AS","iso3":"ASM","name":"American Samoa","numcode":16},{"id":1,"iso_name":"ANDORRA","iso":"AD","iso3":"AND","name":"Andorra","numcode":20},{"id":8,"iso_name":"ANGOLA","iso":"AO","iso3":"AGO","name":"Angola","numcode":24},{"id":5,"iso_name":"ANGUILLA","iso":"AI","iso3":"AIA","name":"Anguilla","numcode":660},{"id":9,"iso_name":"ANTARCTICA","iso":"AQ","iso3":"ATA","name":"Antarctica","numcode":10},{"id":4,"iso_name":"ANTIGUA
54
+ AND BARBUDA","iso":"AG","iso3":"ATG","name":"Antigua and Barbuda","numcode":28},{"id":10,"iso_name":"ARGENTINA","iso":"AR","iso3":"ARG","name":"Argentina","numcode":32},{"id":7,"iso_name":"ARMENIA","iso":"AM","iso3":"ARM","name":"Armenia","numcode":51},{"id":14,"iso_name":"ARUBA","iso":"AW","iso3":"ABW","name":"Aruba","numcode":533},{"id":13,"iso_name":"AUSTRALIA","iso":"AU","iso3":"AUS","name":"Australia","numcode":36},{"id":12,"iso_name":"AUSTRIA","iso":"AT","iso3":"AUT","name":"Austria","numcode":40},{"id":16,"iso_name":"AZERBAIJAN","iso":"AZ","iso3":"AZE","name":"Azerbaijan","numcode":31},{"id":32,"iso_name":"BAHAMAS","iso":"BS","iso3":"BHS","name":"Bahamas","numcode":44},{"id":23,"iso_name":"BAHRAIN","iso":"BH","iso3":"BHR","name":"Bahrain","numcode":48},{"id":19,"iso_name":"BANGLADESH","iso":"BD","iso3":"BGD","name":"Bangladesh","numcode":50},{"id":18,"iso_name":"BARBADOS","iso":"BB","iso3":"BRB","name":"Barbados","numcode":52},{"id":36,"iso_name":"BELARUS","iso":"BY","iso3":"BLR","name":"Belarus","numcode":112},{"id":20,"iso_name":"BELGIUM","iso":"BE","iso3":"BEL","name":"Belgium","numcode":56},{"id":37,"iso_name":"BELIZE","iso":"BZ","iso3":"BLZ","name":"Belize","numcode":84},{"id":25,"iso_name":"BENIN","iso":"BJ","iso3":"BEN","name":"Benin","numcode":204},{"id":27,"iso_name":"BERMUDA","iso":"BM","iso3":"BMU","name":"Bermuda","numcode":60},{"id":33,"iso_name":"BHUTAN","iso":"BT","iso3":"BTN","name":"Bhutan","numcode":64},{"id":29,"iso_name":"BOLIVIA,
55
+ PLURINATIONAL STATE OF","iso":"BO","iso3":"BOL","name":"Bolivia, Plurinational
56
+ State of","numcode":68},{"id":30,"iso_name":"BONAIRE, SINT EUSTATIUS AND SABA","iso":"BQ","iso3":"BES","name":"Bonaire,
57
+ Sint Eustatius and Saba","numcode":535},{"id":17,"iso_name":"BOSNIA AND HERZEGOVINA","iso":"BA","iso3":"BIH","name":"Bosnia
58
+ and Herzegovina","numcode":70},{"id":35,"iso_name":"BOTSWANA","iso":"BW","iso3":"BWA","name":"Botswana","numcode":72},{"id":34,"iso_name":"BOUVET
59
+ ISLAND","iso":"BV","iso3":"BVT","name":"Bouvet Island","numcode":74}]}'
60
+ http_version:
61
+ recorded_at: Wed, 08 Jul 2015 15:48:52 GMT
62
+ recorded_with: VCR 2.9.3