t2_airtime 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (201) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/t2_airtime/accounts_controller.rb +1 -2
  3. data/app/controllers/t2_airtime/application_controller.rb +3 -1
  4. data/app/controllers/t2_airtime/countries_controller.rb +1 -2
  5. data/app/controllers/t2_airtime/operators_controller.rb +1 -2
  6. data/app/controllers/t2_airtime/products_controller.rb +1 -2
  7. data/app/controllers/t2_airtime/topups_controller.rb +3 -6
  8. data/app/controllers/t2_airtime/transactions_controller.rb +2 -4
  9. data/lib/t2_airtime/version.rb +1 -1
  10. data/spec/dummy/log/development.log +228 -0
  11. data/spec/dummy/tmp/cache/361/BB0/accounts +0 -0
  12. data/spec/dummy/tmp/cache/3DD/470/countries +0 -0
  13. data/spec/dummy/tmp/cache/4AF/760/products%2F715 +0 -0
  14. data/spec/dummy/tmp/cache/51B/A80/operators%2F662 +0 -0
  15. data/spec/dummy/tmp/cache/51B/A90/operators%2F671 +0 -0
  16. data/spec/dummy/tmp/cache/769/350/accounts%2Fcurrency +1 -1
  17. data/spec/dummy/tmp/cache/8B4/E50/countries%2Fserializer +165 -165
  18. data/spec/dummy/tmp/cache/986/BE0/products%2F715%2Fserializer +7 -0
  19. data/spec/dummy/tmp/cache/9F2/6C0/operators%2F662%2Fserializer +2 -0
  20. data/spec/dummy/tmp/cache/9F2/6D0/operators%2F671%2Fserializer +3 -0
  21. data/spec/t2_airtime_spec.rb +1 -0
  22. metadata +15 -361
  23. data/spec/dummy/tmp/cache/4B0/790/products%2F734 +0 -0
  24. data/spec/dummy/tmp/cache/4E2/500/products%2F1573 +0 -0
  25. data/spec/dummy/tmp/cache/521/AE0/operators%2F668 +0 -0
  26. data/spec/dummy/tmp/cache/63A/8F0/msisdn%2F%2B393801524729 +0 -0
  27. data/spec/dummy/tmp/cache/785/260/transactions%2F584700240 +0 -0
  28. data/spec/dummy/tmp/cache/788/240/transactions%2F584700117 +0 -0
  29. data/spec/dummy/tmp/cache/788/260/transactions%2F584700135 +0 -0
  30. data/spec/dummy/tmp/cache/789/310/transactions%2F584711404 +0 -0
  31. data/spec/dummy/tmp/cache/789/380/transactions%2F584705230 +0 -0
  32. data/spec/dummy/tmp/cache/78A/340/transactions%2F584711504 +0 -0
  33. data/spec/dummy/tmp/cache/78A/360/transactions%2F584705123 +0 -0
  34. data/spec/dummy/tmp/cache/78B/290/transactions%2F584700219 +0 -0
  35. data/spec/dummy/tmp/cache/78C/370/transactions%2F584711353 +0 -0
  36. data/spec/dummy/tmp/cache/78C/3D0/transactions%2F584705170 +0 -0
  37. data/spec/dummy/tmp/cache/78D/540/transactions%2F584685200 +0 -0
  38. data/spec/dummy/tmp/cache/78E/3B0/transactions%2F584711373 +0 -0
  39. data/spec/dummy/tmp/cache/78F/3D0/transactions%2F584705146 +0 -0
  40. data/spec/dummy/tmp/cache/78F/560/transactions%2F584683420 +0 -0
  41. data/spec/dummy/tmp/cache/790/320/transactions%2F584700179 +0 -0
  42. data/spec/dummy/tmp/cache/790/3A0/transactions%2F584711429 +0 -0
  43. data/spec/dummy/tmp/cache/790/3D0/transactions%2F584705057 +0 -0
  44. data/spec/dummy/tmp/cache/790/3D0/transactions%2F584711456 +0 -0
  45. data/spec/dummy/tmp/cache/790/400/transactions%2F584705084 +0 -0
  46. data/spec/dummy/tmp/cache/790/410/transactions%2F584708009 +0 -0
  47. data/spec/dummy/tmp/cache/790/540/transactions%2F584691332 +0 -0
  48. data/spec/dummy/tmp/cache/790/560/transactions%2F584685113 +0 -0
  49. data/spec/dummy/tmp/cache/791/500/transactions%2F584709270 +0 -0
  50. data/spec/dummy/tmp/cache/791/510/transactions%2F584707902 +0 -0
  51. data/spec/dummy/tmp/cache/793/460/transactions%2F584705195 +0 -0
  52. data/spec/dummy/tmp/cache/793/4B0/transactions%2F584709128 +0 -0
  53. data/spec/dummy/tmp/cache/793/4E0/transactions%2F584709236 +0 -0
  54. data/spec/dummy/tmp/cache/794/430/transactions%2F584711478 +0 -0
  55. data/spec/dummy/tmp/cache/794/4D0/transactions%2F584709219 +0 -0
  56. data/spec/dummy/tmp/cache/794/580/transactions%2F584691417 +0 -0
  57. data/spec/dummy/tmp/cache/794/5A0/transactions%2F584691435 +0 -0
  58. data/spec/dummy/tmp/cache/794/5D0/transactions%2F584685225 +0 -0
  59. data/spec/dummy/tmp/cache/794/600/transactions%2F584683551 +0 -0
  60. data/spec/dummy/tmp/cache/794/610/transactions%2F584682912 +0 -0
  61. data/spec/dummy/tmp/cache/794/630/transactions%2F584685522 +0 -0
  62. data/spec/dummy/tmp/cache/794/630/transactions%2F584685603 +0 -0
  63. data/spec/dummy/tmp/cache/794/680/transactions%2F584689050 +0 -0
  64. data/spec/dummy/tmp/cache/794/680/transactions%2F584697150 +0 -0
  65. data/spec/dummy/tmp/cache/795/5C0/transactions%2F584691364 +0 -0
  66. data/spec/dummy/tmp/cache/795/5D0/transactions%2F584685136 +0 -0
  67. data/spec/dummy/tmp/cache/795/5E0/transactions%2F584691463 +0 -0
  68. data/spec/dummy/tmp/cache/795/5F0/transactions%2F584691391 +0 -0
  69. data/spec/dummy/tmp/cache/795/610/transactions%2F584683471 +0 -0
  70. data/spec/dummy/tmp/cache/795/640/transactions%2F584689006 +0 -0
  71. data/spec/dummy/tmp/cache/795/670/transactions%2F584685550 +0 -0
  72. data/spec/dummy/tmp/cache/795/6A0/transactions%2F584697241 +0 -0
  73. data/spec/dummy/tmp/cache/796/500/transactions%2F584709149 +0 -0
  74. data/spec/dummy/tmp/cache/796/5C0/transactions%2F584707880 +0 -0
  75. data/spec/dummy/tmp/cache/796/5F0/transactions%2F584683526 +0 -0
  76. data/spec/dummy/tmp/cache/796/670/transactions%2F584685461 +0 -0
  77. data/spec/dummy/tmp/cache/796/6D0/transactions%2F584697260 +0 -0
  78. data/spec/dummy/tmp/cache/797/5A0/transactions%2F584707854 +0 -0
  79. data/spec/dummy/tmp/cache/797/680/transactions%2F584689026 +0 -0
  80. data/spec/dummy/tmp/cache/797/680/transactions%2F584697207 +0 -0
  81. data/spec/dummy/tmp/cache/798/540/transactions%2F584709169 +0 -0
  82. data/spec/dummy/tmp/cache/798/620/transactions%2F584685157 +0 -0
  83. data/spec/dummy/tmp/cache/798/6A0/transactions%2F584682880 +0 -0
  84. data/spec/dummy/tmp/cache/798/6B0/transactions%2F584685481 +0 -0
  85. data/spec/dummy/tmp/cache/798/6C0/transactions%2F584685571 +0 -0
  86. data/spec/dummy/tmp/cache/798/6F0/transactions%2F584697181 +0 -0
  87. data/spec/dummy/tmp/cache/798/720/transactions%2F584687812 +0 -0
  88. data/spec/dummy/tmp/cache/799/5B0/transactions%2F584707928 +0 -0
  89. data/spec/dummy/tmp/cache/799/5E0/transactions%2F584707955 +0 -0
  90. data/spec/dummy/tmp/cache/799/620/transactions%2F584683448 +0 -0
  91. data/spec/dummy/tmp/cache/799/640/transactions%2F584685086 +0 -0
  92. data/spec/dummy/tmp/cache/799/6A0/transactions%2F584697128 +0 -0
  93. data/spec/dummy/tmp/cache/79A/580/transactions%2F584709189 +0 -0
  94. data/spec/dummy/tmp/cache/79A/660/transactions%2F584685177 +0 -0
  95. data/spec/dummy/tmp/cache/79A/690/transactions%2F584682936 +0 -0
  96. data/spec/dummy/tmp/cache/79A/7B0/transactions%2F584688930 +0 -0
  97. data/spec/dummy/tmp/cache/79B/630/transactions%2F584707984 +0 -0
  98. data/spec/dummy/tmp/cache/79B/660/transactions%2F584691487 +0 -0
  99. data/spec/dummy/tmp/cache/79B/770/transactions%2F584687833 +0 -0
  100. data/spec/dummy/tmp/cache/79B/790/transactions%2F584688904 +0 -0
  101. data/spec/dummy/tmp/cache/79C/7A0/transactions%2F584687771 +0 -0
  102. data/spec/dummy/tmp/cache/79C/7A0/transactions%2F584687852 +0 -0
  103. data/spec/dummy/tmp/cache/79D/680/transactions%2F584683389 +0 -0
  104. data/spec/dummy/tmp/cache/79D/780/transactions%2F584687745 +0 -0
  105. data/spec/dummy/tmp/cache/79F/6D0/transactions%2F584683499 +0 -0
  106. data/spec/dummy/tmp/cache/79F/700/transactions%2F584682959 +0 -0
  107. data/spec/dummy/tmp/cache/79F/730/transactions%2F584685497 +0 -0
  108. data/spec/dummy/tmp/cache/79F/820/transactions%2F584688953 +0 -0
  109. data/spec/dummy/tmp/cache/7A1/7A0/transactions%2F584697289 +0 -0
  110. data/spec/dummy/tmp/cache/7A3/830/transactions%2F584687796 +0 -0
  111. data/spec/dummy/tmp/cache/7A3/830/transactions%2F584687877 +0 -0
  112. data/spec/dummy/tmp/cache/7A6/8B0/transactions%2F584688978 +0 -0
  113. data/spec/dummy/tmp/cache/987/CE0/products%2F734%2Fserializer +0 -12
  114. data/spec/dummy/tmp/cache/9B9/2F0/products%2F1573%2Fserializer +0 -55
  115. data/spec/dummy/tmp/cache/9F8/C00/operators%2F668%2Fserializer +0 -3
  116. data/spec/dummy/tmp/cache/C5C/4C0/transactions%2F584700240%2Fserializer +0 -0
  117. data/spec/dummy/tmp/cache/C5F/710/transactions%2F584700117%2Fserializer +0 -0
  118. data/spec/dummy/tmp/cache/C5F/730/transactions%2F584700135%2Fserializer +0 -0
  119. data/spec/dummy/tmp/cache/C60/8B0/transactions%2F584711404%2Fserializer +0 -0
  120. data/spec/dummy/tmp/cache/C60/920/transactions%2F584705230%2Fserializer +0 -0
  121. data/spec/dummy/tmp/cache/C61/9B0/transactions%2F584711504%2Fserializer +0 -0
  122. data/spec/dummy/tmp/cache/C61/9D0/transactions%2F584705123%2Fserializer +0 -0
  123. data/spec/dummy/tmp/cache/C62/9D0/transactions%2F584700219%2Fserializer +0 -0
  124. data/spec/dummy/tmp/cache/C63/B80/transactions%2F584711353%2Fserializer +0 -0
  125. data/spec/dummy/tmp/cache/C63/BE0/transactions%2F584705170%2Fserializer +0 -0
  126. data/spec/dummy/tmp/cache/C64/E20/transactions%2F584685200%2Fserializer +0 -0
  127. data/spec/dummy/tmp/cache/C65/D60/transactions%2F584711373%2Fserializer +0 -0
  128. data/spec/dummy/tmp/cache/C66/E50/transactions%2F584705146%2Fserializer +0 -0
  129. data/spec/dummy/tmp/cache/C66/FE0/transactions%2F584683420%2Fserializer +0 -0
  130. data/spec/dummy/tmp/cache/C67/090/transactions%2F584691332%2Fserializer +0 -0
  131. data/spec/dummy/tmp/cache/C67/0B0/transactions%2F584685113%2Fserializer +0 -0
  132. data/spec/dummy/tmp/cache/C67/E70/transactions%2F584700179%2Fserializer +0 -0
  133. data/spec/dummy/tmp/cache/C67/EF0/transactions%2F584711429%2Fserializer +0 -0
  134. data/spec/dummy/tmp/cache/C67/F20/transactions%2F584705057%2Fserializer +0 -0
  135. data/spec/dummy/tmp/cache/C67/F20/transactions%2F584711456%2Fserializer +0 -0
  136. data/spec/dummy/tmp/cache/C67/F50/transactions%2F584705084%2Fserializer +0 -0
  137. data/spec/dummy/tmp/cache/C67/F60/transactions%2F584708009%2Fserializer +0 -0
  138. data/spec/dummy/tmp/cache/C68/120/transactions%2F584709270%2Fserializer +0 -0
  139. data/spec/dummy/tmp/cache/C68/130/transactions%2F584707902%2Fserializer +0 -0
  140. data/spec/dummy/tmp/cache/C6A/220/transactions%2F584705195%2Fserializer +0 -0
  141. data/spec/dummy/tmp/cache/C6A/270/transactions%2F584709128%2Fserializer +0 -0
  142. data/spec/dummy/tmp/cache/C6A/2A0/transactions%2F584709236%2Fserializer +0 -0
  143. data/spec/dummy/tmp/cache/C6B/2C0/transactions%2F584711478%2Fserializer +0 -0
  144. data/spec/dummy/tmp/cache/C6B/360/transactions%2F584709219%2Fserializer +0 -0
  145. data/spec/dummy/tmp/cache/C6B/410/transactions%2F584691417%2Fserializer +0 -0
  146. data/spec/dummy/tmp/cache/C6B/430/transactions%2F584691435%2Fserializer +0 -0
  147. data/spec/dummy/tmp/cache/C6B/460/transactions%2F584685225%2Fserializer +0 -0
  148. data/spec/dummy/tmp/cache/C6B/490/transactions%2F584683551%2Fserializer +0 -0
  149. data/spec/dummy/tmp/cache/C6B/4A0/transactions%2F584682912%2Fserializer +0 -0
  150. data/spec/dummy/tmp/cache/C6B/4C0/transactions%2F584685522%2Fserializer +0 -0
  151. data/spec/dummy/tmp/cache/C6B/4C0/transactions%2F584685603%2Fserializer +0 -0
  152. data/spec/dummy/tmp/cache/C6B/510/transactions%2F584689050%2Fserializer +0 -0
  153. data/spec/dummy/tmp/cache/C6B/510/transactions%2F584697150%2Fserializer +0 -0
  154. data/spec/dummy/tmp/cache/C6C/520/transactions%2F584691364%2Fserializer +0 -0
  155. data/spec/dummy/tmp/cache/C6C/530/transactions%2F584685136%2Fserializer +0 -0
  156. data/spec/dummy/tmp/cache/C6C/540/transactions%2F584691463%2Fserializer +0 -0
  157. data/spec/dummy/tmp/cache/C6C/550/transactions%2F584691391%2Fserializer +0 -0
  158. data/spec/dummy/tmp/cache/C6C/570/transactions%2F584683471%2Fserializer +0 -0
  159. data/spec/dummy/tmp/cache/C6C/5A0/transactions%2F584689006%2Fserializer +0 -0
  160. data/spec/dummy/tmp/cache/C6C/5D0/transactions%2F584685550%2Fserializer +0 -0
  161. data/spec/dummy/tmp/cache/C6C/600/transactions%2F584697241%2Fserializer +0 -0
  162. data/spec/dummy/tmp/cache/C6D/530/transactions%2F584709149%2Fserializer +0 -0
  163. data/spec/dummy/tmp/cache/C6D/5F0/transactions%2F584707880%2Fserializer +0 -0
  164. data/spec/dummy/tmp/cache/C6D/620/transactions%2F584683526%2Fserializer +0 -0
  165. data/spec/dummy/tmp/cache/C6D/6A0/transactions%2F584685461%2Fserializer +0 -0
  166. data/spec/dummy/tmp/cache/C6D/700/transactions%2F584697260%2Fserializer +0 -0
  167. data/spec/dummy/tmp/cache/C6E/6A0/transactions%2F584707854%2Fserializer +0 -0
  168. data/spec/dummy/tmp/cache/C6E/780/transactions%2F584689026%2Fserializer +0 -0
  169. data/spec/dummy/tmp/cache/C6E/780/transactions%2F584697207%2Fserializer +0 -0
  170. data/spec/dummy/tmp/cache/C6F/710/transactions%2F584709169%2Fserializer +0 -0
  171. data/spec/dummy/tmp/cache/C6F/7F0/transactions%2F584685157%2Fserializer +0 -0
  172. data/spec/dummy/tmp/cache/C6F/870/transactions%2F584682880%2Fserializer +0 -0
  173. data/spec/dummy/tmp/cache/C6F/880/transactions%2F584685481%2Fserializer +0 -0
  174. data/spec/dummy/tmp/cache/C6F/890/transactions%2F584685571%2Fserializer +0 -0
  175. data/spec/dummy/tmp/cache/C6F/8C0/transactions%2F584697181%2Fserializer +0 -0
  176. data/spec/dummy/tmp/cache/C6F/8F0/transactions%2F584687812%2Fserializer +0 -0
  177. data/spec/dummy/tmp/cache/C70/850/transactions%2F584707928%2Fserializer +0 -0
  178. data/spec/dummy/tmp/cache/C70/880/transactions%2F584707955%2Fserializer +0 -0
  179. data/spec/dummy/tmp/cache/C70/8C0/transactions%2F584683448%2Fserializer +0 -0
  180. data/spec/dummy/tmp/cache/C70/8E0/transactions%2F584685086%2Fserializer +0 -0
  181. data/spec/dummy/tmp/cache/C70/940/transactions%2F584697128%2Fserializer +0 -0
  182. data/spec/dummy/tmp/cache/C71/8F0/transactions%2F584709189%2Fserializer +0 -0
  183. data/spec/dummy/tmp/cache/C71/9D0/transactions%2F584685177%2Fserializer +0 -0
  184. data/spec/dummy/tmp/cache/C71/A00/transactions%2F584682936%2Fserializer +0 -0
  185. data/spec/dummy/tmp/cache/C71/B20/transactions%2F584688930%2Fserializer +0 -0
  186. data/spec/dummy/tmp/cache/C72/A70/transactions%2F584707984%2Fserializer +0 -0
  187. data/spec/dummy/tmp/cache/C72/AA0/transactions%2F584691487%2Fserializer +0 -0
  188. data/spec/dummy/tmp/cache/C72/BB0/transactions%2F584687833%2Fserializer +0 -0
  189. data/spec/dummy/tmp/cache/C72/BD0/transactions%2F584688904%2Fserializer +0 -0
  190. data/spec/dummy/tmp/cache/C73/CB0/transactions%2F584687771%2Fserializer +0 -0
  191. data/spec/dummy/tmp/cache/C73/CB0/transactions%2F584687852%2Fserializer +0 -0
  192. data/spec/dummy/tmp/cache/C74/C60/transactions%2F584683389%2Fserializer +0 -0
  193. data/spec/dummy/tmp/cache/C74/D60/transactions%2F584687745%2Fserializer +0 -0
  194. data/spec/dummy/tmp/cache/C76/E50/transactions%2F584683499%2Fserializer +0 -0
  195. data/spec/dummy/tmp/cache/C76/E80/transactions%2F584682959%2Fserializer +0 -0
  196. data/spec/dummy/tmp/cache/C76/EB0/transactions%2F584685497%2Fserializer +0 -0
  197. data/spec/dummy/tmp/cache/C76/FA0/transactions%2F584688953%2Fserializer +0 -0
  198. data/spec/dummy/tmp/cache/C78/0C0/transactions%2F584697289%2Fserializer +0 -0
  199. data/spec/dummy/tmp/cache/C7A/2F0/transactions%2F584687796%2Fserializer +0 -0
  200. data/spec/dummy/tmp/cache/C7A/2F0/transactions%2F584687877%2Fserializer +0 -0
  201. data/spec/dummy/tmp/cache/C7D/5E0/transactions%2F584688978%2Fserializer +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ed347685b12293d4f75fe1130903ec4e1891a1f
4
- data.tar.gz: f36c229070ee49bb50f5f636e23864e51e4b6280
3
+ metadata.gz: 92cd20affff2288194c6f7681b323a04e0946c34
4
+ data.tar.gz: 75258f2aa81696aa6c97674cb9dc6054cd7efeda
5
5
  SHA512:
6
- metadata.gz: 2c7d8fca6a8c1e68d930a20d4ad44626b3d964eae01ded112dad0ff9f42fed480f79ae5612bf3cfea67653135ddd9674902aac024db842d003b2989ad4c15abb
7
- data.tar.gz: c7b49e29525a5d703d3dd2a991218d38e5915169489fa725b7aba480660d1a376fa68efcaf5636af6012682539d9aa1eb3bd2501a39f0d36f6a1e4fcb82c6244
6
+ metadata.gz: 37c27cef4a6493cad9c43cb86f4ef8d091988dfdf9be16f22c789cb96d1d15815928f82ece33f717ef9b7ca82b8a88847578c32775d2b8438c56d6d703c659b7
7
+ data.tar.gz: 388eeb722ee1c7e5591dbe3f033e9cca3b2c6e91dbf9539336903179dfbf1f09b04d82f0277ed32feab4c31f806c862e9bdb80c762a768480af389774bf92a3e
@@ -7,8 +7,7 @@ module T2Airtime
7
7
  render_data T2Airtime::Account.serialize @account.data,
8
8
  @account.headers[:date]
9
9
  else
10
- render_error T2Airtime::Error.new @account.error_code,
11
- @account.error_message
10
+ render_error @account
12
11
  end
13
12
  end
14
13
  end
@@ -32,7 +32,9 @@ module T2Airtime
32
32
  }
33
33
  end
34
34
 
35
- def render_error(error)
35
+ def render_error(response)
36
+ error = T2Airtime::Error.new response.error_code,
37
+ response.error_message
36
38
  render json: {
37
39
  errors: [{
38
40
  code: error.code,
@@ -7,8 +7,7 @@ module T2Airtime
7
7
  render_data T2Airtime::Country.serialize @countries.data,
8
8
  @countries.headers[:date]
9
9
  else
10
- render_error T2Airtime::Error.new @countries.error_code,
11
- @countries.error_message
10
+ render_error @countries
12
11
  end
13
12
  end
14
13
 
@@ -7,8 +7,7 @@ module T2Airtime
7
7
  render_data T2Airtime::Operator.serialize @operators.data,
8
8
  @operators.headers[:date]
9
9
  else
10
- render_error T2Airtime::Error.new @operators.error_code,
11
- @operators.error_message
10
+ render_error @operators
12
11
  end
13
12
  end
14
13
 
@@ -7,8 +7,7 @@ module T2Airtime
7
7
  render_data T2Airtime::Product.serialize @products.data,
8
8
  @products.headers[:date]
9
9
  else
10
- render_error T2Airtime::Error.new @products.error_code,
11
- @products.error_message
10
+ render_error @products
12
11
  end
13
12
  end
14
13
 
@@ -7,8 +7,7 @@ module T2Airtime
7
7
  render_data T2Airtime::Msisdn.serialize @msisdn_info.data,
8
8
  @msisdn_info.headers[:date]
9
9
  else
10
- render_error T2Airtime::Error.new @msisdn_info.error_code,
11
- @msisdn_info.error_message
10
+ render_error @msisdn_info
12
11
  end
13
12
  end
14
13
 
@@ -17,8 +16,7 @@ module T2Airtime
17
16
  if @reserve_id.success?
18
17
  render_data @reserve_id.data
19
18
  else
20
- render_error T2Airtime::Error.new @reserve_id.error_code,
21
- @reserve_id.error_message
19
+ render_error @reserve_id
22
20
  end
23
21
  end
24
22
 
@@ -38,8 +36,7 @@ module T2Airtime
38
36
  if @topup.success?
39
37
  render_data T2Airtime::Topup.serialize @topup.data
40
38
  else
41
- render_error T2Airtime::Error.new @topup.error_code,
42
- @topup.error_message
39
+ render_error @topup
43
40
  end
44
41
  end
45
42
 
@@ -10,8 +10,7 @@ module T2Airtime
10
10
  if @transactions.success?
11
11
  render_data T2Airtime::Transaction.serialize @transactions.data
12
12
  else
13
- render_error T2Airtime::Error.new @transactions.error_code,
14
- @transactions.error_message
13
+ render_error @transactions
15
14
  end
16
15
  end
17
16
 
@@ -21,8 +20,7 @@ module T2Airtime
21
20
  render_data T2Airtime::Transaction.serialize_one @transaction.data,
22
21
  @transaction.headers[:date]
23
22
  else
24
- render_error T2Airtime::Error.new @transaction.error_code,
25
- @transaction.error_message
23
+ render_error @transaction
26
24
  end
27
25
  end
28
26
 
@@ -1,3 +1,3 @@
1
1
  module T2Airtime
2
- VERSION = '0.5.1'.freeze
2
+ VERSION = '0.5.2'.freeze
3
3
  end
@@ -12947,3 +12947,231 @@ Processing by T2Airtime::TransactionsController#index as JSON
12947
12947
  Completed 200 OK in 1986ms (Views: 141.5ms)
12948
12948
 
12949
12949
 
12950
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 11:55:21 +0200
12951
+ Processing by T2Airtime::CountriesController#index as JSON
12952
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
12953
+ Completed 200 OK in 75364ms (Views: 69.9ms)
12954
+
12955
+
12956
+ Started GET "/countries/663" for 192.168.18.1 at 2017-09-19 11:57:02 +0200
12957
+ Processing by T2Airtime::CountriesController#show as JSON
12958
+ Parameters: {"id"=>"663", "country"=>{}}
12959
+ Completed 200 OK in 1ms (Views: 0.7ms)
12960
+
12961
+
12962
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=663&sort=-id" for 192.168.18.1 at 2017-09-19 11:57:02 +0200
12963
+ Processing by T2Airtime::OperatorsController#index as JSON
12964
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"663"}, "sort"=>"-id", "operator"=>{}}
12965
+ Completed 200 OK in 2544ms (Views: 8.1ms)
12966
+
12967
+
12968
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=663&sort=-id" for 192.168.18.1 at 2017-09-19 11:57:05 +0200
12969
+ Processing by T2Airtime::OperatorsController#index as JSON
12970
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"663"}, "sort"=>"-id", "operator"=>{}}
12971
+ Completed 200 OK in 15ms (Views: 6.6ms)
12972
+
12973
+
12974
+ Started GET "/countries/663" for 192.168.18.1 at 2017-09-19 13:08:23 +0200
12975
+ Processing by T2Airtime::CountriesController#show as JSON
12976
+ Parameters: {"id"=>"663", "country"=>{}}
12977
+ Completed 200 OK in 1ms (Views: 0.4ms)
12978
+
12979
+
12980
+ Started GET "/countries/663" for 192.168.18.1 at 2017-09-19 13:08:32 +0200
12981
+ Processing by T2Airtime::CountriesController#show as JSON
12982
+ Parameters: {"id"=>"663", "country"=>{}}
12983
+ Completed 200 OK in 1ms (Views: 0.3ms)
12984
+
12985
+
12986
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=663&sort=-id" for 192.168.18.1 at 2017-09-19 13:08:33 +0200
12987
+ Processing by T2Airtime::OperatorsController#index as JSON
12988
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"663"}, "sort"=>"-id", "operator"=>{}}
12989
+ Completed 200 OK in 1577ms (Views: 0.3ms)
12990
+
12991
+
12992
+ Started GET "/countries/663" for 192.168.18.1 at 2017-09-19 13:09:27 +0200
12993
+ Processing by T2Airtime::CountriesController#show as JSON
12994
+ Parameters: {"id"=>"663", "country"=>{}}
12995
+ Completed 200 OK in 1ms (Views: 0.5ms)
12996
+
12997
+
12998
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=663&sort=-id" for 192.168.18.1 at 2017-09-19 13:09:28 +0200
12999
+ Processing by T2Airtime::OperatorsController#index as JSON
13000
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"663"}, "sort"=>"-id", "operator"=>{}}
13001
+ Completed 200 OK in 1482ms (Views: 0.4ms)
13002
+
13003
+
13004
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 13:10:20 +0200
13005
+ Processing by T2Airtime::CountriesController#index as JSON
13006
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13007
+ Completed 200 OK in 1614ms (Views: 0.4ms)
13008
+
13009
+
13010
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 13:13:36 +0200
13011
+ Processing by T2Airtime::CountriesController#index as JSON
13012
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13013
+ Completed 200 OK in 24183ms (Views: 39.3ms)
13014
+
13015
+
13016
+ Started GET "/countries/670" for 192.168.18.1 at 2017-09-19 13:14:09 +0200
13017
+ Processing by T2Airtime::CountriesController#show as JSON
13018
+ Parameters: {"id"=>"670", "country"=>{}}
13019
+ Completed 200 OK in 1ms (Views: 0.4ms)
13020
+
13021
+
13022
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=670&sort=-id" for 192.168.18.1 at 2017-09-19 13:14:09 +0200
13023
+ Processing by T2Airtime::OperatorsController#index as JSON
13024
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"670"}, "sort"=>"-id", "operator"=>{}}
13025
+ Completed 200 OK in 1565ms (Views: 0.4ms)
13026
+
13027
+
13028
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=670&sort=-id" for 192.168.18.1 at 2017-09-19 13:14:11 +0200
13029
+ Processing by T2Airtime::OperatorsController#index as JSON
13030
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"670"}, "sort"=>"-id", "operator"=>{}}
13031
+ Completed 200 OK in 2ms (Views: 0.3ms)
13032
+
13033
+
13034
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 13:15:46 +0200
13035
+ Processing by T2Airtime::CountriesController#index as JSON
13036
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13037
+ Completed 200 OK in 27ms (Views: 22.7ms)
13038
+
13039
+
13040
+ Started GET "/countries/678" for 192.168.18.1 at 2017-09-19 13:15:55 +0200
13041
+ Processing by T2Airtime::CountriesController#show as JSON
13042
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=678&sort=-id" for 192.168.18.1 at 2017-09-19 13:15:55 +0200
13043
+ Processing by T2Airtime::OperatorsController#index as JSON
13044
+ Parameters: {"id"=>"678", "country"=>{}}
13045
+ Completed 200 OK in 1ms (Views: 0.5ms)
13046
+
13047
+
13048
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"678"}, "sort"=>"-id", "operator"=>{}}
13049
+ Completed 200 OK in 1507ms (Views: 0.3ms)
13050
+
13051
+
13052
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=678&sort=-id" for 192.168.18.1 at 2017-09-19 13:15:56 +0200
13053
+ Processing by T2Airtime::OperatorsController#index as JSON
13054
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"678"}, "sort"=>"-id", "operator"=>{}}
13055
+ Completed 200 OK in 5ms (Views: 0.5ms)
13056
+
13057
+
13058
+ Started GET "/countries/678" for 192.168.18.1 at 2017-09-19 13:18:44 +0200
13059
+ Processing by T2Airtime::CountriesController#show as JSON
13060
+ Parameters: {"id"=>"678", "country"=>{}}
13061
+ Completed 200 OK in 1ms (Views: 0.5ms)
13062
+
13063
+
13064
+ Started GET "/countries/678" for 192.168.18.1 at 2017-09-19 13:18:58 +0200
13065
+ Processing by T2Airtime::CountriesController#show as JSON
13066
+ Parameters: {"id"=>"678", "country"=>{}}
13067
+ Completed 200 OK in 1ms (Views: 0.8ms)
13068
+
13069
+
13070
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 13:19:58 +0200
13071
+ Processing by T2Airtime::CountriesController#index as JSON
13072
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13073
+ Completed 200 OK in 1522ms (Views: 0.6ms)
13074
+
13075
+
13076
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 13:20:33 +0200
13077
+ Processing by T2Airtime::CountriesController#index as JSON
13078
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13079
+ Completed 200 OK in 1604ms (Views: 0.6ms)
13080
+
13081
+
13082
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 13:21:20 +0200
13083
+ Processing by T2Airtime::CountriesController#index as JSON
13084
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13085
+ Completed 200 OK in 3936ms (Views: 0.3ms)
13086
+
13087
+
13088
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 13:55:05 +0200
13089
+ Processing by T2Airtime::CountriesController#index as JSON
13090
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13091
+ Completed 200 OK in 34ms (Views: 3.9ms)
13092
+
13093
+
13094
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 13:57:18 +0200
13095
+ Processing by T2Airtime::CountriesController#index as JSON
13096
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13097
+ Completed 200 OK in 3ms (Views: 0.7ms)
13098
+
13099
+
13100
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 14:14:10 +0200
13101
+ Processing by T2Airtime::CountriesController#index as JSON
13102
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13103
+ Completed 200 OK in 4ms (Views: 1.2ms)
13104
+
13105
+
13106
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 14:15:07 +0200
13107
+ Processing by T2Airtime::CountriesController#index as JSON
13108
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13109
+ Completed 200 OK in 15509ms (Views: 18.8ms)
13110
+
13111
+
13112
+ Started GET "/countries/662" for 192.168.18.1 at 2017-09-19 14:15:33 +0200
13113
+ Processing by T2Airtime::CountriesController#show as JSON
13114
+ Parameters: {"id"=>"662", "country"=>{}}
13115
+ Completed 200 OK in 1ms (Views: 0.4ms)
13116
+
13117
+
13118
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=662&sort=-id" for 192.168.18.1 at 2017-09-19 14:15:33 +0200
13119
+ Processing by T2Airtime::OperatorsController#index as JSON
13120
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"662"}, "sort"=>"-id", "operator"=>{}}
13121
+ Completed 200 OK in 1650ms (Views: 0.8ms)
13122
+
13123
+
13124
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=662&sort=-id" for 192.168.18.1 at 2017-09-19 14:15:35 +0200
13125
+ Processing by T2Airtime::OperatorsController#index as JSON
13126
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"662"}, "sort"=>"-id", "operator"=>{}}
13127
+ Completed 200 OK in 4ms (Views: 0.8ms)
13128
+
13129
+
13130
+ Started GET "/operators/715" for 192.168.18.1 at 2017-09-19 14:15:38 +0200
13131
+ Processing by T2Airtime::OperatorsController#show as JSON
13132
+ Parameters: {"id"=>"715", "operator"=>{}}
13133
+ Completed 200 OK in 1ms (Views: 0.4ms)
13134
+
13135
+
13136
+ Started GET "/products?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Boperator_id%5D=715&sort=-id" for 192.168.18.1 at 2017-09-19 14:15:38 +0200
13137
+ Processing by T2Airtime::ProductsController#index as JSON
13138
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"operator_id"=>"715"}, "sort"=>"-id", "product"=>{}}
13139
+ Completed 200 OK in 3282ms (Views: 4.4ms)
13140
+
13141
+
13142
+ Started GET "/products?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Boperator_id%5D=715&sort=-id" for 192.168.18.1 at 2017-09-19 14:15:41 +0200
13143
+ Processing by T2Airtime::ProductsController#index as JSON
13144
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"operator_id"=>"715"}, "sort"=>"-id", "product"=>{}}
13145
+ Completed 200 OK in 7ms (Views: 3.3ms)
13146
+
13147
+
13148
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=10&sort=-id" for 192.168.18.1 at 2017-09-19 14:21:58 +0200
13149
+ Processing by T2Airtime::CountriesController#index as JSON
13150
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"10"}, "sort"=>"-id", "country"=>{}}
13151
+ Completed 200 OK in 104ms (Views: 97.1ms)
13152
+
13153
+
13154
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=671&sort=-id" for 192.168.18.1 at 2017-09-19 14:22:12 +0200
13155
+ Started GET "/countries/671" for 192.168.18.1 at 2017-09-19 14:22:12 +0200
13156
+ Processing by T2Airtime::CountriesController#show as JSON
13157
+ Parameters: {"id"=>"671", "country"=>{}}
13158
+ Completed 200 OK in 1ms (Views: 0.5ms)
13159
+
13160
+
13161
+ Processing by T2Airtime::OperatorsController#index as JSON
13162
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"671"}, "sort"=>"-id", "operator"=>{}}
13163
+ Completed 200 OK in 1761ms (Views: 0.4ms)
13164
+
13165
+
13166
+ Started GET "/operators?page%5Boffset%5D=0&page%5Blimit%5D=25&filter%5Bcountry_id%5D=671&sort=-id" for 192.168.18.1 at 2017-09-19 14:22:14 +0200
13167
+ Processing by T2Airtime::OperatorsController#index as JSON
13168
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"25"}, "filter"=>{"country_id"=>"671"}, "sort"=>"-id", "operator"=>{}}
13169
+ Completed 200 OK in 2ms (Views: 0.3ms)
13170
+
13171
+
13172
+ Started GET "/countries?page%5Boffset%5D=0&page%5Blimit%5D=1000&sort=-id" for 192.168.18.1 at 2017-09-19 14:22:19 +0200
13173
+ Processing by T2Airtime::CountriesController#index as JSON
13174
+ Parameters: {"page"=>{"offset"=>"0", "limit"=>"1000"}, "sort"=>"-id", "country"=>{}}
13175
+ Completed 200 OK in 39ms (Views: 34.9ms)
13176
+
13177
+
@@ -1 +1 @@
1
- o: ActiveSupport::Cache::Entry: @value"USD:@created_atf1505748176.736739:@expires_inf 8.64e4
1
+ o: ActiveSupport::Cache::Entry: @value"USD:@created_atf1505823341.7091377:@expires_inf 8.64e4
@@ -1,167 +1,167 @@
1
- o: ActiveSupport::Cache::Entry: @value[�{: typeI"countries:ET:idi�:attributes{ : name"Afghanistan: alpha3I"AFG;T:callingCodeI"93;T:fetchedAtI"2017-09-18T16:02:00Z;T{;I"countries;T; i�;
2
- { ; " Albania; I"ALB;T;
3
- { ; " Algeria; I"DZA;T;
4
- { ; "American Samoa; I"ASM;T;
5
- { ; " Angola; I"AGO;T;
6
- { ; "
7
- { ; "Antigua and Barbuda; I"ATG;T;
8
- { ; "Argentina; I"ARG;T;
9
- { ; " Armenia; I"ARM;T;
10
- { ; "
11
- Aruba; I"ABW;T;
12
- { ; " Austria; I"AUT;T;
13
- { ; " Bahamas; I"BHS;T;
14
- { ; " Bahrain; I"BHR;T;
15
- { ; "Bangladesh; I"BGD;T;
16
- { ; "
17
- { ; " Belarus; I"BLR;T;
18
- { ; " Belgium; I"BEL;T;
19
- { ; " Belize; I"BLZ;T;
20
- { ; "
21
- Benin; I"BEN;T;
22
- { ; " Bermuda; I"BMU;T;
23
- { ; " Bolivia; I"BOL;T;
24
- { ; "
25
- { ; " Brazil; I"BRA;T;
26
- { ; "British Virgin Islands; I"VGB;T;
27
- { ; "Burkina Faso; I"BFA;T;
28
- { ; " Burundi; I"BDI;T;
29
- { ; "
30
- { ; "
31
- { ; " Canada; I"CAN;T;
32
- { ; "Cape Verde; I"CPV;T;
33
- { ; "Cayman Islands; I"CYM;T;
34
- { ; "Central African Republic; I"CAF;T;
35
- { ; "
36
- Chile; I"CHL;T;
37
- { ; "
38
- China; I"CHN;T;
39
- { ; "
40
- { ; "
41
- Congo; I"COG;T;
42
- { ; "Costa Rica; I"CRI;T;
43
- { ; " Cuba; I"CUB;T;
44
- { ; " Cyprus; I"CYP;T;
45
- { ; "%Democratic Republic of the Congo; I"COD;T;
46
- { ; "
47
- { ; "Dominican Republic; I"DOM;T;
48
- { ; " Ecuador; I"ECU;T;
49
- { ; "
50
- Egypt; I"EGY;T;
51
- { ; "El Salvador; I"SLV;T;
52
- { ; "
53
- { ; " Fiji; I"FJI;T;
54
- { ; " France; I"FRA;T;
55
- { ; "French Guiana; I"GUF;T;
56
- { ; " Gambia; I"GMB;T;
57
- { ; " Georgia; I"GEO;T;
58
- { ; " Germany; I"DEU;T;
59
- { ; "
60
- Ghana; I"GHA;T;
61
- { ; " Grenada; I"GRD;T;
62
- { ; "Guatemala; I"GTM;T;
63
- { ; " Guinea; I"GIN;T;
64
- { ; "Guinea Bissau; I"GNB;T;
65
- { ; " Guyana; I"GUY;T;
66
- { ; "
67
- Haiti; I"HTI;T;
68
- { ; "
69
- { ; "
70
- India; I"IND;T;
71
- { ; "Indonesia; I"IDN;T;
72
- { ; " Iraq; I"IRQ;T;
73
- { ; "
74
- Italy; I"ITA;T;
75
- { ; "Ivory Coast; I"CIV;T;
76
- { ; " Jamaica; I"JAM;T;
77
- { ; " Jordan; I"JOR;T;
1
+ o: ActiveSupport::Cache::Entry: @value[�{: typeI"countries:ET:idi�:attributes{ : name"Afghanistan: alpha3I"AFG;T:callingCodeI"93;T:fetchedAtI"2017-09-19T12:15:10Z;T{;I"countries;T; i�;
2
+ { ; " Albania; I"ALB;T;
3
+ { ; " Algeria; I"DZA;T;
4
+ { ; "American Samoa; I"ASM;T;
5
+ { ; " Angola; I"AGO;T;
6
+ { ; "
7
+ { ; "Antigua and Barbuda; I"ATG;T;
8
+ { ; "Argentina; I"ARG;T;
9
+ { ; " Armenia; I"ARM;T;
10
+ { ; "
11
+ Aruba; I"ABW;T;
12
+ { ; " Austria; I"AUT;T;
13
+ { ; " Bahamas; I"BHS;T;
14
+ { ; " Bahrain; I"BHR;T;
15
+ { ; "Bangladesh; I"BGD;T;
16
+ { ; "
17
+ { ; " Belarus; I"BLR;T;
18
+ { ; " Belgium; I"BEL;T;
19
+ { ; " Belize; I"BLZ;T;
20
+ { ; "
21
+ Benin; I"BEN;T;
22
+ { ; " Bermuda; I"BMU;T;
23
+ { ; " Bolivia; I"BOL;T;
24
+ { ; "
25
+ { ; " Brazil; I"BRA;T;
26
+ { ; "British Virgin Islands; I"VGB;T;
27
+ { ; "Burkina Faso; I"BFA;T;
28
+ { ; " Burundi; I"BDI;T;
29
+ { ; "
30
+ { ; "
31
+ { ; " Canada; I"CAN;T;
32
+ { ; "Cape Verde; I"CPV;T;
33
+ { ; "Cayman Islands; I"CYM;T;
34
+ { ; "Central African Republic; I"CAF;T;
35
+ { ; "
36
+ Chile; I"CHL;T;
37
+ { ; "
38
+ China; I"CHN;T;
39
+ { ; "
40
+ { ; "
41
+ Congo; I"COG;T;
42
+ { ; "Costa Rica; I"CRI;T;
43
+ { ; " Cuba; I"CUB;T;
44
+ { ; " Cyprus; I"CYP;T;
45
+ { ; "%Democratic Republic of the Congo; I"COD;T;
46
+ { ; "
47
+ { ; "Dominican Republic; I"DOM;T;
48
+ { ; " Ecuador; I"ECU;T;
49
+ { ; "
50
+ Egypt; I"EGY;T;
51
+ { ; "El Salvador; I"SLV;T;
52
+ { ; "
53
+ { ; " Fiji; I"FJI;T;
54
+ { ; " France; I"FRA;T;
55
+ { ; "French Guiana; I"GUF;T;
56
+ { ; " Gambia; I"GMB;T;
57
+ { ; " Georgia; I"GEO;T;
58
+ { ; " Germany; I"DEU;T;
59
+ { ; "
60
+ Ghana; I"GHA;T;
61
+ { ; " Grenada; I"GRD;T;
62
+ { ; "Guatemala; I"GTM;T;
63
+ { ; " Guinea; I"GIN;T;
64
+ { ; "Guinea Bissau; I"GNB;T;
65
+ { ; " Guyana; I"GUY;T;
66
+ { ; "
67
+ Haiti; I"HTI;T;
68
+ { ; "
69
+ { ; "
70
+ India; I"IND;T;
71
+ { ; "Indonesia; I"IDN;T;
72
+ { ; " Iraq; I"IRQ;T;
73
+ { ; "
74
+ Italy; I"ITA;T;
75
+ { ; "Ivory Coast; I"CIV;T;
76
+ { ; " Jamaica; I"JAM;T;
77
+ { ; " Jordan; I"JOR;T;
78
78
  ;
79
- { ; "Kazakhstan; I"KAZ;T;
80
- { ; "
81
- Kenya; I"KEN;T;
82
- { ; " Kuwait; I"KWT;T;
83
- { ; "Kyrgyzstan; I"KGZ;T;
84
- { ; " Laos; I"LAO;T;
85
- { ; " Lebanon; I"LBN;T;
86
- { ; " Liberia; I"LBR;T;
87
- { ; "Lithuania; I"LTU;T;
88
- { ; "Macedonia; I"MKD;T;
89
- { ; "Madagascar; I"MDG;T;
90
- { ; " Malawi; I"MWI;T;
91
- { ; "
92
- { ; " Mali; I"MLI;T;
93
- { ; "Martinique; I"MTQ;T;
94
- { ; " Mexico; I"MEX;T;
95
- { ; " Moldova; I"MDA;T;
96
- { ; "Montserrat; I"MSR;T;
97
- { ; " Morocco; I"MAR;T;
98
- { ; "Mozambique; I"MOZ;T;
99
- { ; " Myanmar; I"MMR;T;
100
- { ; " Namibia; I"NAM;T;
101
- { ; "
102
- Nauru; I"NRU;T;
103
- { ; "
104
- Nepal; I"NPL;T;
105
- { ; "Netherlands; I"NLD;T;
106
- { ; "Netherlands Antilles; I"ANT;T;
107
- { ; "Nicaragua; I"NIC;T;
108
- { ; "
109
- Niger; I"NER;T;
110
- { ; " Nigeria; I"NGA;T;
111
- { ; " Oman; I"OMN;T;
112
- { ; "
113
- { ; "Palestine; I"PSE;T;
114
- { ; " Panama; I"PAN;T;
115
- { ; "Papua New Guinea; I"PNG;T;
116
- { ; "
117
- { ; " Peru; I"PER;T;
118
- { ; "Philippines; I"PHL;T;
119
- { ; " Poland; I"POL;T;
120
- { ; "
121
- { ; "Puerto Rico; I"PRI;T;
122
- { ; "
123
- Qatar; I"QAT;T;
124
- { ; " Romania; I"ROU;T;
125
- { ; " Russia; I"RUS;T;
126
- { ; " Rwanda; I"RWA;T;
127
- { ; "
128
- Samoa; I"WSM;T;
129
- { ; "Saudi Arabia; I"SAU;T;
130
- { ; " Senegal; I"SEN;T;
131
- { ; "Serbia and Montenegro; I"SCG;T;
132
- { ; "Sierra Leone; I"SLE;T;
133
- { ; "Singapore; I"SGP;T;
134
- { ; "South Africa; I"ZAF;T;
135
- { ; "
136
- Spain; I"ESP;T;
137
- { ; "Sri Lanka; I"LKA;T;
138
- { ; "St Kitts and Nevis; I"KNA;T;
139
- { ; "
140
- { ; "St Vincent Grenadines; I"VCT;T;
141
- { ; "
142
- { ; "Swaziland; I"SWZ;T;
143
- { ; "Switzerland; I"CHE;T;
144
- { ; "Tajikistan; I"TJK;T;
145
- { ; "
146
- { ; "
147
- { ; " Togo; I"TGO;T;
148
- { ; "
149
- Tonga; I"TON;T;
150
- { ; "Trinidad and Tobago; I"TTO;T;
151
- { ; " Tunisia; I"TUN;T;
152
- { ; " Turkey; I"TUR;T;
153
- { ; "Turks and Caicos; I"TCA;T;
154
- { ; " Uganda; I"UGA;T;
155
- { ; " Ukraine; I"UKR;T;
156
- { ; "United Arab Emirates; I"ARE;T;
157
- { ; "United Kingdom; I"GBR;T;
158
- { ; "United States; I"USA;T;
159
- { ; " Uruguay; I"URY;T;
160
- { ; "Uzbekistan; I"UZB;T;
161
- { ; " Vanuatu; I"VUT;T;
162
- { ; " Vietnam; I"VNM;T;
163
- { ; "
164
- Yemen; I"YEM;T;
165
- { ; " Zambia; I"ZMB;T;
166
- { ; "
79
+ { ; "Kazakhstan; I"KAZ;T;
80
+ { ; "
81
+ Kenya; I"KEN;T;
82
+ { ; " Kuwait; I"KWT;T;
83
+ { ; "Kyrgyzstan; I"KGZ;T;
84
+ { ; " Laos; I"LAO;T;
85
+ { ; " Lebanon; I"LBN;T;
86
+ { ; " Liberia; I"LBR;T;
87
+ { ; "Lithuania; I"LTU;T;
88
+ { ; "Macedonia; I"MKD;T;
89
+ { ; "Madagascar; I"MDG;T;
90
+ { ; " Malawi; I"MWI;T;
91
+ { ; "
92
+ { ; " Mali; I"MLI;T;
93
+ { ; "Martinique; I"MTQ;T;
94
+ { ; " Mexico; I"MEX;T;
95
+ { ; " Moldova; I"MDA;T;
96
+ { ; "Montserrat; I"MSR;T;
97
+ { ; " Morocco; I"MAR;T;
98
+ { ; "Mozambique; I"MOZ;T;
99
+ { ; " Myanmar; I"MMR;T;
100
+ { ; " Namibia; I"NAM;T;
101
+ { ; "
102
+ Nauru; I"NRU;T;
103
+ { ; "
104
+ Nepal; I"NPL;T;
105
+ { ; "Netherlands; I"NLD;T;
106
+ { ; "Netherlands Antilles; I"ANT;T;
107
+ { ; "Nicaragua; I"NIC;T;
108
+ { ; "
109
+ Niger; I"NER;T;
110
+ { ; " Nigeria; I"NGA;T;
111
+ { ; " Oman; I"OMN;T;
112
+ { ; "
113
+ { ; "Palestine; I"PSE;T;
114
+ { ; " Panama; I"PAN;T;
115
+ { ; "Papua New Guinea; I"PNG;T;
116
+ { ; "
117
+ { ; " Peru; I"PER;T;
118
+ { ; "Philippines; I"PHL;T;
119
+ { ; " Poland; I"POL;T;
120
+ { ; "
121
+ { ; "Puerto Rico; I"PRI;T;
122
+ { ; "
123
+ Qatar; I"QAT;T;
124
+ { ; " Romania; I"ROU;T;
125
+ { ; " Russia; I"RUS;T;
126
+ { ; " Rwanda; I"RWA;T;
127
+ { ; "
128
+ Samoa; I"WSM;T;
129
+ { ; "Saudi Arabia; I"SAU;T;
130
+ { ; " Senegal; I"SEN;T;
131
+ { ; "Serbia and Montenegro; I"SCG;T;
132
+ { ; "Sierra Leone; I"SLE;T;
133
+ { ; "Singapore; I"SGP;T;
134
+ { ; "South Africa; I"ZAF;T;
135
+ { ; "
136
+ Spain; I"ESP;T;
137
+ { ; "Sri Lanka; I"LKA;T;
138
+ { ; "St Kitts and Nevis; I"KNA;T;
139
+ { ; "
140
+ { ; "St Vincent Grenadines; I"VCT;T;
141
+ { ; "
142
+ { ; "Swaziland; I"SWZ;T;
143
+ { ; "Switzerland; I"CHE;T;
144
+ { ; "Tajikistan; I"TJK;T;
145
+ { ; "
146
+ { ; "
147
+ { ; " Togo; I"TGO;T;
148
+ { ; "
149
+ Tonga; I"TON;T;
150
+ { ; "Trinidad and Tobago; I"TTO;T;
151
+ { ; " Tunisia; I"TUN;T;
152
+ { ; " Turkey; I"TUR;T;
153
+ { ; "Turks and Caicos; I"TCA;T;
154
+ { ; " Uganda; I"UGA;T;
155
+ { ; " Ukraine; I"UKR;T;
156
+ { ; "United Arab Emirates; I"ARE;T;
157
+ { ; "United Kingdom; I"GBR;T;
158
+ { ; "United States; I"USA;T;
159
+ { ; " Uruguay; I"URY;T;
160
+ { ; "Uzbekistan; I"UZB;T;
161
+ { ; " Vanuatu; I"VUT;T;
162
+ { ; " Vietnam; I"VNM;T;
163
+ { ; "
164
+ Yemen; I"YEM;T;
165
+ { ; " Zambia; I"ZMB;T;
166
+ { ; "
167
167
  3.6e3