contentful 2.1.3 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/Gemfile.lock +24 -26
  4. data/README.md +5 -0
  5. data/coverage/.last_run.json +1 -1
  6. data/coverage/.resultset.json +2399 -460
  7. data/coverage/assets/{0.10.1 → 0.10.2}/application.css +0 -0
  8. data/coverage/assets/{0.10.1 → 0.10.2}/application.js +0 -0
  9. data/coverage/assets/{0.10.1 → 0.10.2}/colorbox/border.png +0 -0
  10. data/coverage/assets/{0.10.1 → 0.10.2}/colorbox/controls.png +0 -0
  11. data/coverage/assets/{0.10.1 → 0.10.2}/colorbox/loading.gif +0 -0
  12. data/coverage/assets/{0.10.1 → 0.10.2}/colorbox/loading_background.png +0 -0
  13. data/coverage/assets/{0.10.1 → 0.10.2}/favicon_green.png +0 -0
  14. data/coverage/assets/{0.10.1 → 0.10.2}/favicon_red.png +0 -0
  15. data/coverage/assets/{0.10.1 → 0.10.2}/favicon_yellow.png +0 -0
  16. data/coverage/assets/{0.10.1 → 0.10.2}/loading.gif +0 -0
  17. data/coverage/assets/{0.10.1 → 0.10.2}/magnify.png +0 -0
  18. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  19. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  20. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  21. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  22. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  23. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  24. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  25. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  26. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-icons_222222_256x240.png +0 -0
  27. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  28. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-icons_454545_256x240.png +0 -0
  29. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-icons_888888_256x240.png +0 -0
  30. data/coverage/assets/{0.10.1 → 0.10.2}/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  31. data/coverage/index.html +17490 -3213
  32. data/doc/Contentful.html +3 -3
  33. data/doc/Contentful/AccessDenied.html +1 -1
  34. data/doc/Contentful/Array.html +1 -1
  35. data/doc/Contentful/ArrayCoercion.html +7 -7
  36. data/doc/Contentful/ArrayLike.html +1 -1
  37. data/doc/Contentful/Asset.html +1 -1
  38. data/doc/Contentful/BadGateway.html +159 -0
  39. data/doc/Contentful/BadRequest.html +1 -1
  40. data/doc/Contentful/BaseCoercion.html +1 -1
  41. data/doc/Contentful/BaseResource.html +2 -2
  42. data/doc/Contentful/BooleanCoercion.html +1 -1
  43. data/doc/Contentful/Client.html +20 -26
  44. data/doc/Contentful/ContentType.html +7 -1
  45. data/doc/Contentful/ContentTypeCache.html +1 -1
  46. data/doc/Contentful/DateCoercion.html +1 -1
  47. data/doc/Contentful/DeletedAsset.html +1 -1
  48. data/doc/Contentful/DeletedEntry.html +1 -1
  49. data/doc/Contentful/Entry.html +1 -1
  50. data/doc/Contentful/Error.html +16 -28
  51. data/doc/Contentful/Field.html +1 -1
  52. data/doc/Contentful/FieldsResource.html +1 -1
  53. data/doc/Contentful/File.html +8 -308
  54. data/doc/Contentful/FloatCoercion.html +1 -1
  55. data/doc/Contentful/IntegerCoercion.html +1 -1
  56. data/doc/Contentful/Link.html +1 -1
  57. data/doc/Contentful/LinkCoercion.html +1 -1
  58. data/doc/Contentful/Locale.html +1 -1
  59. data/doc/Contentful/Location.html +1 -1
  60. data/doc/Contentful/LocationCoercion.html +1 -1
  61. data/doc/Contentful/NotFound.html +1 -1
  62. data/doc/Contentful/ObjectCoercion.html +2 -2
  63. data/doc/Contentful/RateLimitExceeded.html +183 -2
  64. data/doc/Contentful/Request.html +1 -1
  65. data/doc/Contentful/ResourceBuilder.html +1 -1
  66. data/doc/Contentful/Response.html +72 -1
  67. data/doc/Contentful/ServerError.html +1 -1
  68. data/doc/Contentful/ServiceUnavailable.html +1 -1
  69. data/doc/Contentful/Space.html +1 -1
  70. data/doc/Contentful/StringCoercion.html +1 -1
  71. data/doc/Contentful/Support.html +49 -27
  72. data/doc/Contentful/SymbolCoercion.html +1 -1
  73. data/doc/Contentful/Sync.html +1 -1
  74. data/doc/Contentful/SyncPage.html +1 -1
  75. data/doc/Contentful/TextCoercion.html +1 -1
  76. data/doc/Contentful/Unauthorized.html +1 -1
  77. data/doc/Contentful/UnparsableJson.html +1 -1
  78. data/doc/Contentful/UnparsableResource.html +1 -1
  79. data/doc/_index.html +8 -1
  80. data/doc/class_list.html +1 -1
  81. data/doc/file.CHANGELOG.html +15 -1
  82. data/doc/file.LICENSE.html +1 -1
  83. data/doc/file.README.html +8 -1
  84. data/doc/index.html +8 -1
  85. data/doc/method_list.html +147 -155
  86. data/doc/top-level-namespace.html +1 -1
  87. data/lib/contentful/asset.rb +2 -2
  88. data/lib/contentful/base_resource.rb +3 -3
  89. data/lib/contentful/client.rb +3 -3
  90. data/lib/contentful/coercions.rb +1 -20
  91. data/lib/contentful/content_type.rb +2 -0
  92. data/lib/contentful/entry.rb +4 -2
  93. data/lib/contentful/error.rb +168 -29
  94. data/lib/contentful/fields_resource.rb +8 -5
  95. data/lib/contentful/file.rb +14 -6
  96. data/lib/contentful/response.rb +5 -4
  97. data/lib/contentful/support.rb +4 -1
  98. data/lib/contentful/version.rb +1 -1
  99. data/spec/asset_spec.rb +9 -0
  100. data/spec/content_type_spec.rb +10 -0
  101. data/spec/deleted_asset_spec.rb +10 -0
  102. data/spec/deleted_entry_spec.rb +10 -0
  103. data/spec/entry_spec.rb +11 -0
  104. data/spec/error_class_spec.rb +244 -3
  105. data/spec/field_spec.rb +21 -0
  106. data/spec/file_spec.rb +10 -0
  107. data/spec/fixtures/json_responses/400_details_errors_object.json +14 -0
  108. data/spec/fixtures/json_responses/400_details_errors_string.json +12 -0
  109. data/spec/fixtures/json_responses/400_details_string.json +8 -0
  110. data/spec/fixtures/json_responses/403_reasons.json +13 -0
  111. data/spec/fixtures/json_responses/404_id.json +11 -0
  112. data/spec/fixtures/json_responses/404_type.json +10 -0
  113. data/spec/fixtures/json_responses/default_400.json +7 -0
  114. data/spec/fixtures/json_responses/default_401.json +7 -0
  115. data/spec/fixtures/json_responses/default_403.json +7 -0
  116. data/spec/fixtures/json_responses/default_404.json +7 -0
  117. data/spec/fixtures/json_responses/default_429.json +7 -0
  118. data/spec/fixtures/json_responses/default_500.json +7 -0
  119. data/spec/fixtures/json_responses/default_502.json +7 -0
  120. data/spec/fixtures/json_responses/default_503.json +7 -0
  121. data/spec/fixtures/json_responses/other_error.json +9 -0
  122. data/spec/fixtures/json_responses/other_error_no_details.json +8 -0
  123. data/spec/fixtures/json_responses/other_error_no_message.json +8 -0
  124. data/spec/fixtures/json_responses/other_error_no_request_id.json +8 -0
  125. data/spec/fixtures/json_responses/other_error_nothing.json +6 -0
  126. data/spec/link_spec.rb +9 -0
  127. data/spec/support/json_responses.rb +4 -2
  128. metadata +66 -27
data/doc/Contentful.html CHANGED
@@ -104,7 +104,7 @@
104
104
 
105
105
 
106
106
 
107
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Contentful/AccessDenied.html" title="Contentful::AccessDenied (class)">AccessDenied</a></span>, <span class='object_link'><a href="Contentful/Array.html" title="Contentful::Array (class)">Array</a></span>, <span class='object_link'><a href="Contentful/ArrayCoercion.html" title="Contentful::ArrayCoercion (class)">ArrayCoercion</a></span>, <span class='object_link'><a href="Contentful/Asset.html" title="Contentful::Asset (class)">Asset</a></span>, <span class='object_link'><a href="Contentful/BadRequest.html" title="Contentful::BadRequest (class)">BadRequest</a></span>, <span class='object_link'><a href="Contentful/BaseCoercion.html" title="Contentful::BaseCoercion (class)">BaseCoercion</a></span>, <span class='object_link'><a href="Contentful/BaseResource.html" title="Contentful::BaseResource (class)">BaseResource</a></span>, <span class='object_link'><a href="Contentful/BooleanCoercion.html" title="Contentful::BooleanCoercion (class)">BooleanCoercion</a></span>, <span class='object_link'><a href="Contentful/Client.html" title="Contentful::Client (class)">Client</a></span>, <span class='object_link'><a href="Contentful/ContentType.html" title="Contentful::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Contentful/ContentTypeCache.html" title="Contentful::ContentTypeCache (class)">ContentTypeCache</a></span>, <span class='object_link'><a href="Contentful/DateCoercion.html" title="Contentful::DateCoercion (class)">DateCoercion</a></span>, <span class='object_link'><a href="Contentful/DeletedAsset.html" title="Contentful::DeletedAsset (class)">DeletedAsset</a></span>, <span class='object_link'><a href="Contentful/DeletedEntry.html" title="Contentful::DeletedEntry (class)">DeletedEntry</a></span>, <span class='object_link'><a href="Contentful/Entry.html" title="Contentful::Entry (class)">Entry</a></span>, <span class='object_link'><a href="Contentful/Error.html" title="Contentful::Error (class)">Error</a></span>, <span class='object_link'><a href="Contentful/Field.html" title="Contentful::Field (class)">Field</a></span>, <span class='object_link'><a href="Contentful/FieldsResource.html" title="Contentful::FieldsResource (class)">FieldsResource</a></span>, <span class='object_link'><a href="Contentful/File.html" title="Contentful::File (class)">File</a></span>, <span class='object_link'><a href="Contentful/FloatCoercion.html" title="Contentful::FloatCoercion (class)">FloatCoercion</a></span>, <span class='object_link'><a href="Contentful/IntegerCoercion.html" title="Contentful::IntegerCoercion (class)">IntegerCoercion</a></span>, <span class='object_link'><a href="Contentful/Link.html" title="Contentful::Link (class)">Link</a></span>, <span class='object_link'><a href="Contentful/LinkCoercion.html" title="Contentful::LinkCoercion (class)">LinkCoercion</a></span>, <span class='object_link'><a href="Contentful/Locale.html" title="Contentful::Locale (class)">Locale</a></span>, <span class='object_link'><a href="Contentful/Location.html" title="Contentful::Location (class)">Location</a></span>, <span class='object_link'><a href="Contentful/LocationCoercion.html" title="Contentful::LocationCoercion (class)">LocationCoercion</a></span>, <span class='object_link'><a href="Contentful/NotFound.html" title="Contentful::NotFound (class)">NotFound</a></span>, <span class='object_link'><a href="Contentful/ObjectCoercion.html" title="Contentful::ObjectCoercion (class)">ObjectCoercion</a></span>, <span class='object_link'><a href="Contentful/RateLimitExceeded.html" title="Contentful::RateLimitExceeded (class)">RateLimitExceeded</a></span>, <span class='object_link'><a href="Contentful/Request.html" title="Contentful::Request (class)">Request</a></span>, <span class='object_link'><a href="Contentful/ResourceBuilder.html" title="Contentful::ResourceBuilder (class)">ResourceBuilder</a></span>, <span class='object_link'><a href="Contentful/Response.html" title="Contentful::Response (class)">Response</a></span>, <span class='object_link'><a href="Contentful/ServerError.html" title="Contentful::ServerError (class)">ServerError</a></span>, <span class='object_link'><a href="Contentful/ServiceUnavailable.html" title="Contentful::ServiceUnavailable (class)">ServiceUnavailable</a></span>, <span class='object_link'><a href="Contentful/Space.html" title="Contentful::Space (class)">Space</a></span>, <span class='object_link'><a href="Contentful/StringCoercion.html" title="Contentful::StringCoercion (class)">StringCoercion</a></span>, <span class='object_link'><a href="Contentful/SymbolCoercion.html" title="Contentful::SymbolCoercion (class)">SymbolCoercion</a></span>, <span class='object_link'><a href="Contentful/Sync.html" title="Contentful::Sync (class)">Sync</a></span>, <span class='object_link'><a href="Contentful/SyncPage.html" title="Contentful::SyncPage (class)">SyncPage</a></span>, <span class='object_link'><a href="Contentful/TextCoercion.html" title="Contentful::TextCoercion (class)">TextCoercion</a></span>, <span class='object_link'><a href="Contentful/Unauthorized.html" title="Contentful::Unauthorized (class)">Unauthorized</a></span>, <span class='object_link'><a href="Contentful/UnparsableJson.html" title="Contentful::UnparsableJson (class)">UnparsableJson</a></span>, <span class='object_link'><a href="Contentful/UnparsableResource.html" title="Contentful::UnparsableResource (class)">UnparsableResource</a></span>
107
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Contentful/AccessDenied.html" title="Contentful::AccessDenied (class)">AccessDenied</a></span>, <span class='object_link'><a href="Contentful/Array.html" title="Contentful::Array (class)">Array</a></span>, <span class='object_link'><a href="Contentful/ArrayCoercion.html" title="Contentful::ArrayCoercion (class)">ArrayCoercion</a></span>, <span class='object_link'><a href="Contentful/Asset.html" title="Contentful::Asset (class)">Asset</a></span>, <span class='object_link'><a href="Contentful/BadGateway.html" title="Contentful::BadGateway (class)">BadGateway</a></span>, <span class='object_link'><a href="Contentful/BadRequest.html" title="Contentful::BadRequest (class)">BadRequest</a></span>, <span class='object_link'><a href="Contentful/BaseCoercion.html" title="Contentful::BaseCoercion (class)">BaseCoercion</a></span>, <span class='object_link'><a href="Contentful/BaseResource.html" title="Contentful::BaseResource (class)">BaseResource</a></span>, <span class='object_link'><a href="Contentful/BooleanCoercion.html" title="Contentful::BooleanCoercion (class)">BooleanCoercion</a></span>, <span class='object_link'><a href="Contentful/Client.html" title="Contentful::Client (class)">Client</a></span>, <span class='object_link'><a href="Contentful/ContentType.html" title="Contentful::ContentType (class)">ContentType</a></span>, <span class='object_link'><a href="Contentful/ContentTypeCache.html" title="Contentful::ContentTypeCache (class)">ContentTypeCache</a></span>, <span class='object_link'><a href="Contentful/DateCoercion.html" title="Contentful::DateCoercion (class)">DateCoercion</a></span>, <span class='object_link'><a href="Contentful/DeletedAsset.html" title="Contentful::DeletedAsset (class)">DeletedAsset</a></span>, <span class='object_link'><a href="Contentful/DeletedEntry.html" title="Contentful::DeletedEntry (class)">DeletedEntry</a></span>, <span class='object_link'><a href="Contentful/Entry.html" title="Contentful::Entry (class)">Entry</a></span>, <span class='object_link'><a href="Contentful/Error.html" title="Contentful::Error (class)">Error</a></span>, <span class='object_link'><a href="Contentful/Field.html" title="Contentful::Field (class)">Field</a></span>, <span class='object_link'><a href="Contentful/FieldsResource.html" title="Contentful::FieldsResource (class)">FieldsResource</a></span>, <span class='object_link'><a href="Contentful/File.html" title="Contentful::File (class)">File</a></span>, <span class='object_link'><a href="Contentful/FloatCoercion.html" title="Contentful::FloatCoercion (class)">FloatCoercion</a></span>, <span class='object_link'><a href="Contentful/IntegerCoercion.html" title="Contentful::IntegerCoercion (class)">IntegerCoercion</a></span>, <span class='object_link'><a href="Contentful/Link.html" title="Contentful::Link (class)">Link</a></span>, <span class='object_link'><a href="Contentful/LinkCoercion.html" title="Contentful::LinkCoercion (class)">LinkCoercion</a></span>, <span class='object_link'><a href="Contentful/Locale.html" title="Contentful::Locale (class)">Locale</a></span>, <span class='object_link'><a href="Contentful/Location.html" title="Contentful::Location (class)">Location</a></span>, <span class='object_link'><a href="Contentful/LocationCoercion.html" title="Contentful::LocationCoercion (class)">LocationCoercion</a></span>, <span class='object_link'><a href="Contentful/NotFound.html" title="Contentful::NotFound (class)">NotFound</a></span>, <span class='object_link'><a href="Contentful/ObjectCoercion.html" title="Contentful::ObjectCoercion (class)">ObjectCoercion</a></span>, <span class='object_link'><a href="Contentful/RateLimitExceeded.html" title="Contentful::RateLimitExceeded (class)">RateLimitExceeded</a></span>, <span class='object_link'><a href="Contentful/Request.html" title="Contentful::Request (class)">Request</a></span>, <span class='object_link'><a href="Contentful/ResourceBuilder.html" title="Contentful::ResourceBuilder (class)">ResourceBuilder</a></span>, <span class='object_link'><a href="Contentful/Response.html" title="Contentful::Response (class)">Response</a></span>, <span class='object_link'><a href="Contentful/ServerError.html" title="Contentful::ServerError (class)">ServerError</a></span>, <span class='object_link'><a href="Contentful/ServiceUnavailable.html" title="Contentful::ServiceUnavailable (class)">ServiceUnavailable</a></span>, <span class='object_link'><a href="Contentful/Space.html" title="Contentful::Space (class)">Space</a></span>, <span class='object_link'><a href="Contentful/StringCoercion.html" title="Contentful::StringCoercion (class)">StringCoercion</a></span>, <span class='object_link'><a href="Contentful/SymbolCoercion.html" title="Contentful::SymbolCoercion (class)">SymbolCoercion</a></span>, <span class='object_link'><a href="Contentful/Sync.html" title="Contentful::Sync (class)">Sync</a></span>, <span class='object_link'><a href="Contentful/SyncPage.html" title="Contentful::SyncPage (class)">SyncPage</a></span>, <span class='object_link'><a href="Contentful/TextCoercion.html" title="Contentful::TextCoercion (class)">TextCoercion</a></span>, <span class='object_link'><a href="Contentful/Unauthorized.html" title="Contentful::Unauthorized (class)">Unauthorized</a></span>, <span class='object_link'><a href="Contentful/UnparsableJson.html" title="Contentful::UnparsableJson (class)">UnparsableJson</a></span>, <span class='object_link'><a href="Contentful/UnparsableResource.html" title="Contentful::UnparsableResource (class)">UnparsableResource</a></span>
108
108
 
109
109
 
110
110
  </p>
@@ -126,7 +126,7 @@
126
126
 
127
127
  </div>
128
128
  </dt>
129
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.1.2</span><span class='tstring_end'>&#39;</span></span></pre></dd>
129
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>2.1.3</span><span class='tstring_end'>&#39;</span></span></pre></dd>
130
130
 
131
131
  </dl>
132
132
 
@@ -141,7 +141,7 @@
141
141
  </div>
142
142
 
143
143
  <div id="footer">
144
- Generated on Thu Aug 17 09:42:18 2017 by
144
+ Generated on Tue Oct 24 14:05:58 2017 by
145
145
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
146
146
  0.9.9 (ruby-2.4.1).
147
147
  </div>
@@ -149,7 +149,7 @@
149
149
  </div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Thu Aug 17 09:42:19 2017 by
152
+ Generated on Tue Oct 24 14:05:58 2017 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.9 (ruby-2.4.1).
155
155
  </div>
@@ -737,7 +737,7 @@
737
737
  </div>
738
738
 
739
739
  <div id="footer">
740
- Generated on Thu Aug 17 09:42:19 2017 by
740
+ Generated on Tue Oct 24 14:05:58 2017 by
741
741
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
742
742
  0.9.9 (ruby-2.4.1).
743
743
  </div>
@@ -208,14 +208,14 @@
208
208
  <pre class="lines">
209
209
 
210
210
 
211
- 110
212
- 111
213
- 112
214
- 113
215
- 114</pre>
211
+ 91
212
+ 92
213
+ 93
214
+ 94
215
+ 95</pre>
216
216
  </td>
217
217
  <td>
218
- <pre class="code"><span class="info file"># File 'lib/contentful/coercions.rb', line 110</span>
218
+ <pre class="code"><span class="info file"># File 'lib/contentful/coercions.rb', line 91</span>
219
219
 
220
220
  <span class='kw'>def</span> <span class='id identifier rubyid_coerce'>coerce</span>
221
221
  <span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span>
@@ -232,7 +232,7 @@
232
232
  </div>
233
233
 
234
234
  <div id="footer">
235
- Generated on Thu Aug 17 09:42:20 2017 by
235
+ Generated on Tue Oct 24 14:05:58 2017 by
236
236
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
237
237
  0.9.9 (ruby-2.4.1).
238
238
  </div>
@@ -615,7 +615,7 @@ property exists</p>
615
615
  </div>
616
616
 
617
617
  <div id="footer">
618
- Generated on Thu Aug 17 09:42:19 2017 by
618
+ Generated on Tue Oct 24 14:05:58 2017 by
619
619
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
620
620
  0.9.9 (ruby-2.4.1).
621
621
  </div>
@@ -468,7 +468,7 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/#
468
468
  </div>
469
469
 
470
470
  <div id="footer">
471
- Generated on Thu Aug 17 09:42:19 2017 by
471
+ Generated on Tue Oct 24 14:05:58 2017 by
472
472
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
473
473
  0.9.9 (ruby-2.4.1).
474
474
  </div>
@@ -0,0 +1,159 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Exception: Contentful::BadGateway
8
+
9
+ &mdash; Documentation by YARD 0.9.9
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "Contentful::BadGateway";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (B)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Contentful.html" title="Contentful (module)">Contentful</a></span></span>
41
+ &raquo;
42
+ <span class="title">BadGateway</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Exception: Contentful::BadGateway
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'><a href="Error.html" title="Contentful::Error (class)">Error</a></span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li>Object</li>
76
+
77
+ <li class="next">StandardError</li>
78
+
79
+ <li class="next"><span class='object_link'><a href="Error.html" title="Contentful::Error (class)">Error</a></span></li>
80
+
81
+ <li class="next">Contentful::BadGateway</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+ </dl>
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+ <dl>
100
+ <dt>Defined in:</dt>
101
+ <dd>lib/contentful/error.rb</dd>
102
+ </dl>
103
+
104
+ </div>
105
+
106
+ <h2>Overview</h2><div class="docstring">
107
+ <div class="discussion">
108
+
109
+ <p>502</p>
110
+
111
+
112
+ </div>
113
+ </div>
114
+ <div class="tags">
115
+
116
+
117
+ </div>
118
+
119
+
120
+
121
+
122
+
123
+ <h2>Instance Attribute Summary</h2>
124
+
125
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Error.html" title="Contentful::Error (class)">Error</a></span></h3>
126
+ <p class="inherited"><span class='object_link'><a href="Error.html#response-instance_method" title="Contentful::Error#response (method)">#response</a></span></p>
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+ <h2>Method Summary</h2>
137
+
138
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Error.html" title="Contentful::Error (class)">Error</a></span></h3>
139
+ <p class="inherited"><span class='object_link'><a href="Error.html#[]-class_method" title="Contentful::Error.[] (method)">[]</a></span>, <span class='object_link'><a href="Error.html#initialize-instance_method" title="Contentful::Error#initialize (method)">#initialize</a></span></p>
140
+
141
+ <div id="constructor_details" class="method_details_list">
142
+ <h2>Constructor Details</h2>
143
+
144
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="Error.html#initialize-instance_method" title="Contentful::Error#initialize (method)">Contentful::Error</a></span></p>
145
+
146
+ </div>
147
+
148
+
149
+ </div>
150
+
151
+ <div id="footer">
152
+ Generated on Tue Oct 24 14:05:58 2017 by
153
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
+ 0.9.9 (ruby-2.4.1).
155
+ </div>
156
+
157
+ </div>
158
+ </body>
159
+ </html>
@@ -149,7 +149,7 @@
149
149
  </div>
150
150
 
151
151
  <div id="footer">
152
- Generated on Thu Aug 17 09:42:19 2017 by
152
+ Generated on Tue Oct 24 14:05:58 2017 by
153
153
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
154
154
  0.9.9 (ruby-2.4.1).
155
155
  </div>
@@ -435,7 +435,7 @@
435
435
  </div>
436
436
 
437
437
  <div id="footer">
438
- Generated on Thu Aug 17 09:42:19 2017 by
438
+ Generated on Tue Oct 24 14:05:58 2017 by
439
439
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
440
440
  0.9.9 (ruby-2.4.1).
441
441
  </div>
@@ -344,8 +344,8 @@
344
344
  <span class='ivar'>@raw</span> <span class='op'>=</span> <span class='id identifier rubyid_item'>item</span>
345
345
  <span class='ivar'>@default_locale</span> <span class='op'>=</span> <span class='id identifier rubyid_configuration'>configuration</span><span class='lbracket'>[</span><span class='symbol'>:default_locale</span><span class='rbracket'>]</span>
346
346
  <span class='ivar'>@depth</span> <span class='op'>=</span> <span class='id identifier rubyid_depth'>depth</span>
347
- <span class='ivar'>@sys</span> <span class='op'>=</span> <span class='id identifier rubyid_hydrate_sys'>hydrate_sys</span>
348
347
  <span class='ivar'>@configuration</span> <span class='op'>=</span> <span class='id identifier rubyid_configuration'>configuration</span>
348
+ <span class='ivar'>@sys</span> <span class='op'>=</span> <span class='id identifier rubyid_hydrate_sys'>hydrate_sys</span>
349
349
 
350
350
  <span class='id identifier rubyid_define_sys_methods!'>define_sys_methods!</span>
351
351
  <span class='kw'>end</span></pre>
@@ -587,7 +587,7 @@ for Entry, Asset, ContentType and Space</p>
587
587
  </div>
588
588
 
589
589
  <div id="footer">
590
- Generated on Thu Aug 17 09:42:20 2017 by
590
+ Generated on Tue Oct 24 14:05:59 2017 by
591
591
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
592
592
  0.9.9 (ruby-2.4.1).
593
593
  </div>
@@ -232,7 +232,7 @@
232
232
  </div>
233
233
 
234
234
  <div id="footer">
235
- Generated on Thu Aug 17 09:42:20 2017 by
235
+ Generated on Tue Oct 24 14:05:58 2017 by
236
236
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
237
237
  0.9.9 (ruby-2.4.1).
238
238
  </div>
@@ -151,28 +151,13 @@ querying resources from this space. See README for details</p>
151
151
  <span class='label'>max_rate_limit_retries:</span> <span class='int'>1</span><span class='comma'>,</span>
152
152
  <span class='label'>max_rate_limit_wait:</span> <span class='int'>60</span><span class='comma'>,</span>
153
153
  <span class='label'>max_include_resolution_depth:</span> <span class='int'>20</span><span class='comma'>,</span>
154
+ <span class='label'>use_camel_case:</span> <span class='kw'>false</span><span class='comma'>,</span>
154
155
  <span class='label'>application_name:</span> <span class='kw'>nil</span><span class='comma'>,</span>
155
156
  <span class='label'>application_version:</span> <span class='kw'>nil</span><span class='comma'>,</span>
156
157
  <span class='label'>integration_name:</span> <span class='kw'>nil</span><span class='comma'>,</span>
157
158
  <span class='label'>integration_version:</span> <span class='kw'>nil</span>
158
159
  <span class='rbrace'>}</span></pre></dd>
159
160
 
160
- <dt id="RATE_LIMIT_RESET_HEADER_KEY-constant" class="">RATE_LIMIT_RESET_HEADER_KEY =
161
- <div class="docstring">
162
- <div class="discussion">
163
-
164
- <p>Rate Limit Reset Header Key</p>
165
-
166
-
167
- </div>
168
- </div>
169
- <div class="tags">
170
-
171
-
172
- </div>
173
- </dt>
174
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>x-contentful-ratelimit-reset</span><span class='tstring_end'>&#39;</span></span></pre></dd>
175
-
176
161
  </dl>
177
162
 
178
163
 
@@ -668,6 +653,15 @@ Preview API</p>
668
653
 
669
654
  </li>
670
655
 
656
+ <li>
657
+ <span class="name">:use_camel_case</span>
658
+ <span class="type">(<tt>Boolean</tt>)</span>
659
+ <span class="default">
660
+
661
+ </span>
662
+
663
+ </li>
664
+
671
665
  <li>
672
666
  <span class="name">:gzip_encoded</span>
673
667
  <span class="type">(<tt>Boolean</tt>)</span>
@@ -851,12 +845,12 @@ Preview API</p>
851
845
  <pre class="lines">
852
846
 
853
847
 
848
+ 46
854
849
  47
855
- 48
856
- 49</pre>
850
+ 48</pre>
857
851
  </td>
858
852
  <td>
859
- <pre class="code"><span class="info file"># File 'lib/contentful/client.rb', line 47</span>
853
+ <pre class="code"><span class="info file"># File 'lib/contentful/client.rb', line 46</span>
860
854
 
861
855
  <span class='kw'>def</span> <span class='id identifier rubyid_configuration'>configuration</span>
862
856
  <span class='ivar'>@configuration</span>
@@ -894,12 +888,12 @@ Preview API</p>
894
888
  <pre class="lines">
895
889
 
896
890
 
891
+ 46
897
892
  47
898
- 48
899
- 49</pre>
893
+ 48</pre>
900
894
  </td>
901
895
  <td>
902
- <pre class="code"><span class="info file"># File 'lib/contentful/client.rb', line 47</span>
896
+ <pre class="code"><span class="info file"># File 'lib/contentful/client.rb', line 46</span>
903
897
 
904
898
  <span class='kw'>def</span> <span class='id identifier rubyid_logger'>logger</span>
905
899
  <span class='ivar'>@logger</span>
@@ -937,12 +931,12 @@ Preview API</p>
937
931
  <pre class="lines">
938
932
 
939
933
 
934
+ 46
940
935
  47
941
- 48
942
- 49</pre>
936
+ 48</pre>
943
937
  </td>
944
938
  <td>
945
- <pre class="code"><span class="info file"># File 'lib/contentful/client.rb', line 47</span>
939
+ <pre class="code"><span class="info file"># File 'lib/contentful/client.rb', line 46</span>
946
940
 
947
941
  <span class='kw'>def</span> <span class='id identifier rubyid_proxy'>proxy</span>
948
942
  <span class='ivar'>@proxy</span>
@@ -1594,7 +1588,7 @@ Preview API</p>
1594
1588
  </div>
1595
1589
 
1596
1590
  <div id="footer">
1597
- Generated on Thu Aug 17 09:42:19 2017 by
1591
+ Generated on Tue Oct 24 14:05:58 2017 by
1598
1592
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1599
1593
  0.9.9 (ruby-2.4.1).
1600
1594
  </div>
@@ -156,6 +156,8 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/#
156
156
 
157
157
 
158
158
 
159
+ (also: #displayField)
160
+
159
161
  </span>
160
162
 
161
163
 
@@ -429,6 +431,10 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/#
429
431
 
430
432
 
431
433
 
434
+ <span class="aliases">Also known as:
435
+ <span class="names"><span id='displayField-instance_method'>displayField</span></span>
436
+ </span>
437
+
432
438
 
433
439
 
434
440
  </h3><div class="docstring">
@@ -602,7 +608,7 @@ href="https://www.contentful.com/developers/documentation/content-delivery-api/#
602
608
  </div>
603
609
 
604
610
  <div id="footer">
605
- Generated on Thu Aug 17 09:42:20 2017 by
611
+ Generated on Tue Oct 24 14:05:59 2017 by
606
612
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
607
613
  0.9.9 (ruby-2.4.1).
608
614
  </div>
@@ -418,7 +418,7 @@
418
418
  </div>
419
419
 
420
420
  <div id="footer">
421
- Generated on Thu Aug 17 09:42:20 2017 by
421
+ Generated on Tue Oct 24 14:05:59 2017 by
422
422
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
423
423
  0.9.9 (ruby-2.4.1).
424
424
  </div>