kontent-delivery-sdk-ruby 2.0.18 → 2.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +21 -21
  3. data/README.md +575 -576
  4. data/bin/console +14 -14
  5. data/bin/setup +8 -8
  6. data/lib/delivery/builders/image_transformation_builder.rb +271 -271
  7. data/lib/delivery/builders/url_builder.rb +120 -120
  8. data/lib/delivery/client/delivery_client.rb +176 -176
  9. data/lib/delivery/client/delivery_query.rb +302 -302
  10. data/lib/delivery/client/request_manager.rb +125 -125
  11. data/lib/delivery/models/content_item.rb +153 -153
  12. data/lib/delivery/models/content_type.rb +41 -41
  13. data/lib/delivery/models/pagination.rb +22 -22
  14. data/lib/delivery/models/taxonomy_group.rb +39 -39
  15. data/lib/delivery/query_parameters/filters.rb +158 -158
  16. data/lib/delivery/query_parameters/parameter_base.rb +46 -46
  17. data/lib/delivery/query_parameters/query_string.rb +78 -78
  18. data/lib/delivery/resolvers/content_link_resolver.rb +102 -102
  19. data/lib/delivery/resolvers/inline_content_item_resolver.rb +75 -75
  20. data/lib/delivery/resolvers/linked_item_resolver.rb +37 -37
  21. data/lib/delivery/responses/delivery_element_response.rb +34 -34
  22. data/lib/delivery/responses/delivery_item_listing_response.rb +54 -54
  23. data/lib/delivery/responses/delivery_item_response.rb +40 -40
  24. data/lib/delivery/responses/delivery_items_feed_response.rb +58 -58
  25. data/lib/delivery/responses/delivery_taxonomy_listing_response.rb +47 -47
  26. data/lib/delivery/responses/delivery_taxonomy_response.rb +33 -33
  27. data/lib/delivery/responses/delivery_type_listing_response.rb +46 -46
  28. data/lib/delivery/responses/delivery_type_response.rb +32 -32
  29. data/lib/delivery/responses/response_base.rb +39 -39
  30. data/lib/delivery/tests/401.json +5 -5
  31. data/lib/delivery/tests/429.json +4 -4
  32. data/lib/delivery/tests/fake_responder.rb +110 -110
  33. data/lib/delivery/tests/filtering/items_gt.json +565 -565
  34. data/lib/delivery/tests/filtering/items_with_count.json +4985 -4985
  35. data/lib/delivery/tests/filtering/multiple.json +282 -282
  36. data/lib/delivery/tests/filtering/pagination_about_us.json +646 -646
  37. data/lib/delivery/tests/generic/items.json +4984 -4984
  38. data/lib/delivery/tests/generic/items/about_us.json +227 -227
  39. data/lib/delivery/tests/generic/items/aeropress_filters.json +138 -138
  40. data/lib/delivery/tests/generic/items/coffee_processing_techniques.json +168 -168
  41. data/lib/delivery/tests/generic/items/where_does_coffee_come_from_.json +620 -620
  42. data/lib/delivery/tests/generic/taxonomies.json +126 -126
  43. data/lib/delivery/tests/generic/types.json +780 -780
  44. data/lib/delivery/tests/generic/types/brewer/elements/product_status.json +5 -5
  45. data/lib/delivery/tests/items_feed/articles_feed_1.json +39 -39
  46. data/lib/delivery/tests/items_feed/articles_feed_2.json +78 -78
  47. data/lib/delivery/tests/items_feed/articles_feed_3.json +104 -104
  48. data/lib/delivery/version.rb +7 -7
  49. data/lib/kontent-delivery-sdk-ruby.rb +20 -20
  50. metadata +30 -11
@@ -1,139 +1,139 @@
1
- {
2
- "item": {
3
- "system": {
4
- "id": "65832c4e-8e9c-445f-a001-b9528d13dac8",
5
- "name": "AeroPress Filters",
6
- "codename": "aeropress_filters",
7
- "language": "en-US",
8
- "type": "accessory",
9
- "sitemap_locations": [
10
- "accessories"
11
- ],
12
- "last_modified": "2018-02-27T19:02:35.617Z"
13
- },
14
- "elements": {
15
- "product_name": {
16
- "type": "text",
17
- "name": "Product name",
18
- "value": "AeroPress Filters"
19
- },
20
- "price": {
21
- "type": "number",
22
- "name": "Price",
23
- "value": 4.9
24
- },
25
- "image": {
26
- "type": "asset",
27
- "name": "Image",
28
- "value": [
29
- {
30
- "name": "aero-press-filters.jpg",
31
- "type": "image/jpeg",
32
- "size": 36967,
33
- "description": "AeroPress Paper Filter",
34
- "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/fdd5befd-e730-4c74-a128-b5404ccb7640/aero-press-filters.jpg"
35
- }
36
- ]
37
- },
38
- "manufacturer": {
39
- "type": "text",
40
- "name": "Manufacturer",
41
- "value": "Aerobie"
42
- },
43
- "product_status": {
44
- "type": "taxonomy",
45
- "name": "Product status",
46
- "taxonomy_group": "product_status",
47
- "value": []
48
- },
49
- "short_description": {
50
- "type": "rich_text",
51
- "name": "Short description",
52
- "images": {},
53
- "links": {},
54
- "modular_content": [],
55
- "value": "<p>Bleached paper filters for AeroPress coffee makers. &nbsp;</p>"
56
- },
57
- "long_description": {
58
- "type": "rich_text",
59
- "name": "Long description",
60
- "images": {},
61
- "links": {},
62
- "modular_content": [],
63
- "value": "<p>Bleached paper filters 1.5\" (3.8 cm) wide for AeroPress&nbsp;coffee makers.</p><p>A new and clean filter that gives you a wonderful taste of coffee. These paper filters allow the coffee to flow through the filter while at the same time trapping the coffee grounds inside.</p>"
64
- },
65
- "url_pattern": {
66
- "type": "url_slug",
67
- "name": "URL pattern",
68
- "value": "aeropress-filters"
69
- },
70
- "metadata__meta_title": {
71
- "type": "text",
72
- "name": "Meta title",
73
- "value": "AeroPress Filters"
74
- },
75
- "metadata__meta_description": {
76
- "type": "text",
77
- "name": "Meta description",
78
- "value": "Bleached paper filters 1.5\" (3.8 cm) wide for AeroPress coffee makers. A new and clean filter that gives you a wonderful taste of coffee."
79
- },
80
- "metadata__og_title": {
81
- "type": "text",
82
- "name": "og:title",
83
- "value": "AeroPress Filters"
84
- },
85
- "metadata__og_description": {
86
- "type": "text",
87
- "name": "og:description",
88
- "value": "Bleached paper filters 1.5\" (3.8 cm) wide for AeroPress coffee makers. A new and clean filter that gives you a wonderful taste of coffee."
89
- },
90
- "metadata__og_image": {
91
- "type": "asset",
92
- "name": "og:image",
93
- "value": [
94
- {
95
- "name": "aero-press-filters.jpg",
96
- "type": "image/jpeg",
97
- "size": 36967,
98
- "description": "AeroPress Paper Filter",
99
- "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/fdd5befd-e730-4c74-a128-b5404ccb7640/aero-press-filters.jpg"
100
- }
101
- ]
102
- },
103
- "metadata__twitter_site": {
104
- "type": "text",
105
- "name": "twitter:site",
106
- "value": "Dancing Goat"
107
- },
108
- "metadata__twitter_creator": {
109
- "type": "text",
110
- "name": "twitter:creator",
111
- "value": "@kenticokontent"
112
- },
113
- "metadata__twitter_title": {
114
- "type": "text",
115
- "name": "twitter:title",
116
- "value": "AeroPress Filters"
117
- },
118
- "metadata__twitter_description": {
119
- "type": "text",
120
- "name": "twitter:description",
121
- "value": "Bleached paper filters 1.5\" (3.8 cm) wide for AeroPress coffee makers. A new and clean filter that gives you a wonderful taste of coffee."
122
- },
123
- "metadata__twitter_image": {
124
- "type": "asset",
125
- "name": "twitter:image",
126
- "value": [
127
- {
128
- "name": "aero-press-filters.jpg",
129
- "type": "image/jpeg",
130
- "size": 36967,
131
- "description": "AeroPress Paper Filter",
132
- "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/fdd5befd-e730-4c74-a128-b5404ccb7640/aero-press-filters.jpg"
133
- }
134
- ]
135
- }
136
- }
137
- },
138
- "modular_content": {}
1
+ {
2
+ "item": {
3
+ "system": {
4
+ "id": "65832c4e-8e9c-445f-a001-b9528d13dac8",
5
+ "name": "AeroPress Filters",
6
+ "codename": "aeropress_filters",
7
+ "language": "en-US",
8
+ "type": "accessory",
9
+ "sitemap_locations": [
10
+ "accessories"
11
+ ],
12
+ "last_modified": "2018-02-27T19:02:35.617Z"
13
+ },
14
+ "elements": {
15
+ "product_name": {
16
+ "type": "text",
17
+ "name": "Product name",
18
+ "value": "AeroPress Filters"
19
+ },
20
+ "price": {
21
+ "type": "number",
22
+ "name": "Price",
23
+ "value": 4.9
24
+ },
25
+ "image": {
26
+ "type": "asset",
27
+ "name": "Image",
28
+ "value": [
29
+ {
30
+ "name": "aero-press-filters.jpg",
31
+ "type": "image/jpeg",
32
+ "size": 36967,
33
+ "description": "AeroPress Paper Filter",
34
+ "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/fdd5befd-e730-4c74-a128-b5404ccb7640/aero-press-filters.jpg"
35
+ }
36
+ ]
37
+ },
38
+ "manufacturer": {
39
+ "type": "text",
40
+ "name": "Manufacturer",
41
+ "value": "Aerobie"
42
+ },
43
+ "product_status": {
44
+ "type": "taxonomy",
45
+ "name": "Product status",
46
+ "taxonomy_group": "product_status",
47
+ "value": []
48
+ },
49
+ "short_description": {
50
+ "type": "rich_text",
51
+ "name": "Short description",
52
+ "images": {},
53
+ "links": {},
54
+ "modular_content": [],
55
+ "value": "<p>Bleached paper filters for AeroPress coffee makers. &nbsp;</p>"
56
+ },
57
+ "long_description": {
58
+ "type": "rich_text",
59
+ "name": "Long description",
60
+ "images": {},
61
+ "links": {},
62
+ "modular_content": [],
63
+ "value": "<p>Bleached paper filters 1.5\" (3.8 cm) wide for AeroPress&nbsp;coffee makers.</p><p>A new and clean filter that gives you a wonderful taste of coffee. These paper filters allow the coffee to flow through the filter while at the same time trapping the coffee grounds inside.</p>"
64
+ },
65
+ "url_pattern": {
66
+ "type": "url_slug",
67
+ "name": "URL pattern",
68
+ "value": "aeropress-filters"
69
+ },
70
+ "metadata__meta_title": {
71
+ "type": "text",
72
+ "name": "Meta title",
73
+ "value": "AeroPress Filters"
74
+ },
75
+ "metadata__meta_description": {
76
+ "type": "text",
77
+ "name": "Meta description",
78
+ "value": "Bleached paper filters 1.5\" (3.8 cm) wide for AeroPress coffee makers. A new and clean filter that gives you a wonderful taste of coffee."
79
+ },
80
+ "metadata__og_title": {
81
+ "type": "text",
82
+ "name": "og:title",
83
+ "value": "AeroPress Filters"
84
+ },
85
+ "metadata__og_description": {
86
+ "type": "text",
87
+ "name": "og:description",
88
+ "value": "Bleached paper filters 1.5\" (3.8 cm) wide for AeroPress coffee makers. A new and clean filter that gives you a wonderful taste of coffee."
89
+ },
90
+ "metadata__og_image": {
91
+ "type": "asset",
92
+ "name": "og:image",
93
+ "value": [
94
+ {
95
+ "name": "aero-press-filters.jpg",
96
+ "type": "image/jpeg",
97
+ "size": 36967,
98
+ "description": "AeroPress Paper Filter",
99
+ "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/fdd5befd-e730-4c74-a128-b5404ccb7640/aero-press-filters.jpg"
100
+ }
101
+ ]
102
+ },
103
+ "metadata__twitter_site": {
104
+ "type": "text",
105
+ "name": "twitter:site",
106
+ "value": "Dancing Goat"
107
+ },
108
+ "metadata__twitter_creator": {
109
+ "type": "text",
110
+ "name": "twitter:creator",
111
+ "value": "@kenticokontent"
112
+ },
113
+ "metadata__twitter_title": {
114
+ "type": "text",
115
+ "name": "twitter:title",
116
+ "value": "AeroPress Filters"
117
+ },
118
+ "metadata__twitter_description": {
119
+ "type": "text",
120
+ "name": "twitter:description",
121
+ "value": "Bleached paper filters 1.5\" (3.8 cm) wide for AeroPress coffee makers. A new and clean filter that gives you a wonderful taste of coffee."
122
+ },
123
+ "metadata__twitter_image": {
124
+ "type": "asset",
125
+ "name": "twitter:image",
126
+ "value": [
127
+ {
128
+ "name": "aero-press-filters.jpg",
129
+ "type": "image/jpeg",
130
+ "size": 36967,
131
+ "description": "AeroPress Paper Filter",
132
+ "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/fdd5befd-e730-4c74-a128-b5404ccb7640/aero-press-filters.jpg"
133
+ }
134
+ ]
135
+ }
136
+ }
137
+ },
138
+ "modular_content": {}
139
139
  }
@@ -1,169 +1,169 @@
1
- {
2
- "item": {
3
- "system": {
4
- "id": "117cdfae-52cf-4885-b271-66aef6825612",
5
- "name": "Coffee processing techniques",
6
- "codename": "coffee_processing_techniques",
7
- "language": "en-US",
8
- "type": "article",
9
- "sitemap_locations": [
10
- "articles"
11
- ],
12
- "last_modified": "2018-07-17T08:12:03.07Z"
13
- },
14
- "elements": {
15
- "title": {
16
- "type": "text",
17
- "name": "Title",
18
- "value": "Coffee processing techniques"
19
- },
20
- "teaser_image": {
21
- "type": "asset",
22
- "name": "Teaser image",
23
- "value": [
24
- {
25
- "name": "coffee-processing-techniques-1080px.jpg",
26
- "type": "image/jpeg",
27
- "size": 108409,
28
- "description": "Dry process (also known as unwashed or natural coffee)",
29
- "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/40edae81-37df-4d5e-8624-e2f7cfc50427/coffee-processing-techniques-1080px.jpg"
30
- }
31
- ]
32
- },
33
- "post_date": {
34
- "type": "date_time",
35
- "name": "Post date",
36
- "value": "2014-11-02T00:00:00Z"
37
- },
38
- "summary": {
39
- "type": "text",
40
- "name": "Summary",
41
- "value": "Learn about the techniques of processing the products of coffee plants. Different methods are used in different parts of the world depending mainly on their weather conditions."
42
- },
43
- "body_copy": {
44
- "type": "rich_text",
45
- "name": "Body Copy",
46
- "images": {},
47
- "links": {
48
- "80c7074b-3da1-4e1d-882b-c5716ebb4d25": {
49
- "codename": "kenya_gakuyuni_aa",
50
- "type": "coffee",
51
- "url_slug": "kenya-gakuyuni-aa"
52
- },
53
- "0c9a11bb-6fc3-409c-b3cb-f0b797e15489": {
54
- "codename": "brazil_natural_barra_grande",
55
- "type": "coffee",
56
- "url_slug": "brazil-natural-barra-grande"
57
- }
58
- },
59
- "modular_content": [],
60
- "value": "<p>Before a ripe coffee plant transforms into a delicious cup lying on your table, it undergoes quite a journey. A journey full of possible pitfalls, which can, usually negatively, influence the coffee’s final taste. What goes wrong at the very beginning cannot be made up for at the very end.</p>\n<p>The character and taste of a coffee are largely influenced by its origin, climate, the quality and type of soil and the botanical varieties of the coffee plant.</p>\n<p>The last two links of the chain—the roastery and the barista—cannot, in any way, improve the taste of the coffee. They are left with the difficult task of making the most its potential.</p>\n<p>The farmers themselves, however, have at their disposal tools for enhancing the ‘ingrown’ taste of the coffee. These are mainly the methods of removing the multilayered skin of the coffee beans.</p>\n<p>Two, sometimes three basic methods are usually referred to. Wet-Processed (Fully-Washed), Dry-Processed (Natural) and Pulped-Natural (Semi-Washed).</p>\n<p>Dry processing, being the least economically demanding, used to be the most widely used of the methods. More exclusive beans are now usually processed using the wet and pulped-natural processing. This is due to the quality and cleanliness of the beans, as well as the speed of the whole process. If you are curious about the taste, go ahead and try the <a data-item-id=\"80c7074b-3da1-4e1d-882b-c5716ebb4d25\" href=\"\">Kenya Gakuyuni AA</a>.</p>\n<p>Wet processing rids the cherry of its layers and pulp by water fermentation. The exocarp is removed from the cherries directly after the harvest using circular and drum mechanical peelers. Afterwards, they spend 6-72 hours in water-filled fermentation tanks.</p>\n<p>In the tank, microorganisms take care of the pulp (mesocarp). The length of the process is determined by the stickiness of the beans. Leaving beans in the fermentation tank for too long produces the so-called ‘naughty’ beans. These are often beans that have stuck in the tank and their rancid and putrid state endangers the whole batch.</p>\n<p>The constantly rising levels of acetic acid are also able to impact the taste of the coffee with fermented and even vinegarish tones once it’s been roasted. The main negative aspect of wet processing is the amount of water that has to be used. This is up to 40m3 (40000 liters) of water, that have to be continuously dumped and new, clean water has to be put pumped into the tank. The dumping of contaminated water often depreciates the water supplies laying underneath the coffee farm.</p>\n<p>The dry method, considered the most traditional and the least costly, makes use of sun-drying. Cherries are often sundried on concrete courtyards, Ethiopian hilltops, and sometimes even on the very shrubs.</p>\n<p>Cherries need to be sundried directly after the harvest to avoid unwanted fermentation. The laid out beans need to be layered evenly and not more than 6 inches (15cm) in height. Farmers turn the seeds over both manually or with the use of tractors.</p>\n<p>During the dry fermentation, the sugars travel, via osmosis, from the pulp into the beans. This makes for more full-bodied coffee and adds sweeter tones to the taste, as compared to wet processed coffee. This often comes at the cost of a more polluted cup.</p>\n<p>Once the coffee beans reach some 11 % humidity, the peel layers and pulp can be removed using mechanical peelers. Reaching the desired humidity takes anywhere between 10 and 30 days. This is an important factor, especially in unstable climates, where automatic driers often replace the traditional sun drying process.</p>\n<p>Now’s the time for ‘reposo’, a resting time, in which the beans lay in a parchment for 30-60 days.</p>\n<p>The third method, popular primarily in Brazil, is the so-called Pulped-Natural or Semi-Washed way of processing beans. Check out our <a data-item-id=\"0c9a11bb-6fc3-409c-b3cb-f0b797e15489\" href=\"\">Brazil Natural Barra Grande</a> coffee for a tasty example. Only the top layer of the cherry peel is removed in a water bath. The rest of the process, including the sugar fermentation and the separation of the pulp from the bean, are taken care of by sun drying. This method, just like the dry method, is highly dependent on the weather, which has to be consistent for the farmers to be able to dry the beans thoroughly.</p>\n<p>This process yields full-bodied beans with low-acidity. Less aliphatic acids are produced, which has a negative impact on the aroma of the coffee.</p>"
61
- },
62
- "related_articles": {
63
- "type": "modular_content",
64
- "name": "Related articles",
65
- "value": [
66
- "on_roasts",
67
- "which_brewing_fits_you_"
68
- ]
69
- },
70
- "meta_keywords": {
71
- "type": "text",
72
- "name": "Meta keywords",
73
- "value": "\"coffee processing\", brewing"
74
- },
75
- "personas": {
76
- "type": "taxonomy",
77
- "name": "Personas",
78
- "taxonomy_group": "personas",
79
- "value": [
80
- {
81
- "name": "Coffee blogger",
82
- "codename": "coffee_blogger"
83
- },
84
- {
85
- "name": "Coffee lover",
86
- "codename": "coffee_lover"
87
- }
88
- ]
89
- },
90
- "meta_description": {
91
- "type": "text",
92
- "name": "Meta description",
93
- "value": "Learn about the techniques of processing the products of coffee plants. Different methods are used in different parts of the world."
94
- },
95
- "url_pattern": {
96
- "type": "url_slug",
97
- "name": "URL pattern",
98
- "value": "coffee-processing-techniques"
99
- },
100
- "metadata__meta_title": {
101
- "type": "text",
102
- "name": "Meta title",
103
- "value": "Coffee processing techniques"
104
- },
105
- "metadata__meta_description": {
106
- "type": "text",
107
- "name": "Meta description",
108
- "value": "Learn about the techniques of processing the products of coffee plants. Different methods are used in different parts of the world."
109
- },
110
- "metadata__og_title": {
111
- "type": "text",
112
- "name": "og:title",
113
- "value": "Coffee processing techniques"
114
- },
115
- "metadata__og_description": {
116
- "type": "text",
117
- "name": "og:description",
118
- "value": "Learn about the techniques of processing the products of coffee plants. Different methods are used in different parts of the world."
119
- },
120
- "metadata__og_image": {
121
- "type": "asset",
122
- "name": "og:image",
123
- "value": [
124
- {
125
- "name": "coffee-processing-techniques-1080px.jpg",
126
- "type": "image/jpeg",
127
- "size": 108409,
128
- "description": "Dry process (also known as unwashed or natural coffee)",
129
- "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/40edae81-37df-4d5e-8624-e2f7cfc50427/coffee-processing-techniques-1080px.jpg"
130
- }
131
- ]
132
- },
133
- "metadata__twitter_site": {
134
- "type": "text",
135
- "name": "twitter:site",
136
- "value": "Dancing Goat"
137
- },
138
- "metadata__twitter_creator": {
139
- "type": "text",
140
- "name": "twitter:creator",
141
- "value": "@kenticokontent"
142
- },
143
- "metadata__twitter_title": {
144
- "type": "text",
145
- "name": "twitter:title",
146
- "value": "Coffee processing techniques"
147
- },
148
- "metadata__twitter_description": {
149
- "type": "text",
150
- "name": "twitter:description",
151
- "value": "Learn about the techniques of processing the products of coffee plants. Different methods are used in different parts of the world."
152
- },
153
- "metadata__twitter_image": {
154
- "type": "asset",
155
- "name": "twitter:image",
156
- "value": [
157
- {
158
- "name": "coffee-processing-techniques-1080px.jpg",
159
- "type": "image/jpeg",
160
- "size": 108409,
161
- "description": "Dry process (also known as unwashed or natural coffee)",
162
- "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/40edae81-37df-4d5e-8624-e2f7cfc50427/coffee-processing-techniques-1080px.jpg"
163
- }
164
- ]
165
- }
166
- }
167
- },
168
- "modular_content": {}
1
+ {
2
+ "item": {
3
+ "system": {
4
+ "id": "117cdfae-52cf-4885-b271-66aef6825612",
5
+ "name": "Coffee processing techniques",
6
+ "codename": "coffee_processing_techniques",
7
+ "language": "en-US",
8
+ "type": "article",
9
+ "sitemap_locations": [
10
+ "articles"
11
+ ],
12
+ "last_modified": "2018-07-17T08:12:03.07Z"
13
+ },
14
+ "elements": {
15
+ "title": {
16
+ "type": "text",
17
+ "name": "Title",
18
+ "value": "Coffee processing techniques"
19
+ },
20
+ "teaser_image": {
21
+ "type": "asset",
22
+ "name": "Teaser image",
23
+ "value": [
24
+ {
25
+ "name": "coffee-processing-techniques-1080px.jpg",
26
+ "type": "image/jpeg",
27
+ "size": 108409,
28
+ "description": "Dry process (also known as unwashed or natural coffee)",
29
+ "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/40edae81-37df-4d5e-8624-e2f7cfc50427/coffee-processing-techniques-1080px.jpg"
30
+ }
31
+ ]
32
+ },
33
+ "post_date": {
34
+ "type": "date_time",
35
+ "name": "Post date",
36
+ "value": "2014-11-02T00:00:00Z"
37
+ },
38
+ "summary": {
39
+ "type": "text",
40
+ "name": "Summary",
41
+ "value": "Learn about the techniques of processing the products of coffee plants. Different methods are used in different parts of the world depending mainly on their weather conditions."
42
+ },
43
+ "body_copy": {
44
+ "type": "rich_text",
45
+ "name": "Body Copy",
46
+ "images": {},
47
+ "links": {
48
+ "80c7074b-3da1-4e1d-882b-c5716ebb4d25": {
49
+ "codename": "kenya_gakuyuni_aa",
50
+ "type": "coffee",
51
+ "url_slug": "kenya-gakuyuni-aa"
52
+ },
53
+ "0c9a11bb-6fc3-409c-b3cb-f0b797e15489": {
54
+ "codename": "brazil_natural_barra_grande",
55
+ "type": "coffee",
56
+ "url_slug": "brazil-natural-barra-grande"
57
+ }
58
+ },
59
+ "modular_content": [],
60
+ "value": "<p>Before a ripe coffee plant transforms into a delicious cup lying on your table, it undergoes quite a journey. A journey full of possible pitfalls, which can, usually negatively, influence the coffee’s final taste. What goes wrong at the very beginning cannot be made up for at the very end.</p>\n<p>The character and taste of a coffee are largely influenced by its origin, climate, the quality and type of soil and the botanical varieties of the coffee plant.</p>\n<p>The last two links of the chain—the roastery and the barista—cannot, in any way, improve the taste of the coffee. They are left with the difficult task of making the most its potential.</p>\n<p>The farmers themselves, however, have at their disposal tools for enhancing the ‘ingrown’ taste of the coffee. These are mainly the methods of removing the multilayered skin of the coffee beans.</p>\n<p>Two, sometimes three basic methods are usually referred to. Wet-Processed (Fully-Washed), Dry-Processed (Natural) and Pulped-Natural (Semi-Washed).</p>\n<p>Dry processing, being the least economically demanding, used to be the most widely used of the methods. More exclusive beans are now usually processed using the wet and pulped-natural processing. This is due to the quality and cleanliness of the beans, as well as the speed of the whole process. If you are curious about the taste, go ahead and try the <a data-item-id=\"80c7074b-3da1-4e1d-882b-c5716ebb4d25\" href=\"\">Kenya Gakuyuni AA</a>.</p>\n<p>Wet processing rids the cherry of its layers and pulp by water fermentation. The exocarp is removed from the cherries directly after the harvest using circular and drum mechanical peelers. Afterwards, they spend 6-72 hours in water-filled fermentation tanks.</p>\n<p>In the tank, microorganisms take care of the pulp (mesocarp). The length of the process is determined by the stickiness of the beans. Leaving beans in the fermentation tank for too long produces the so-called ‘naughty’ beans. These are often beans that have stuck in the tank and their rancid and putrid state endangers the whole batch.</p>\n<p>The constantly rising levels of acetic acid are also able to impact the taste of the coffee with fermented and even vinegarish tones once it’s been roasted. The main negative aspect of wet processing is the amount of water that has to be used. This is up to 40m3 (40000 liters) of water, that have to be continuously dumped and new, clean water has to be put pumped into the tank. The dumping of contaminated water often depreciates the water supplies laying underneath the coffee farm.</p>\n<p>The dry method, considered the most traditional and the least costly, makes use of sun-drying. Cherries are often sundried on concrete courtyards, Ethiopian hilltops, and sometimes even on the very shrubs.</p>\n<p>Cherries need to be sundried directly after the harvest to avoid unwanted fermentation. The laid out beans need to be layered evenly and not more than 6 inches (15cm) in height. Farmers turn the seeds over both manually or with the use of tractors.</p>\n<p>During the dry fermentation, the sugars travel, via osmosis, from the pulp into the beans. This makes for more full-bodied coffee and adds sweeter tones to the taste, as compared to wet processed coffee. This often comes at the cost of a more polluted cup.</p>\n<p>Once the coffee beans reach some 11 % humidity, the peel layers and pulp can be removed using mechanical peelers. Reaching the desired humidity takes anywhere between 10 and 30 days. This is an important factor, especially in unstable climates, where automatic driers often replace the traditional sun drying process.</p>\n<p>Now’s the time for ‘reposo’, a resting time, in which the beans lay in a parchment for 30-60 days.</p>\n<p>The third method, popular primarily in Brazil, is the so-called Pulped-Natural or Semi-Washed way of processing beans. Check out our <a data-item-id=\"0c9a11bb-6fc3-409c-b3cb-f0b797e15489\" href=\"\">Brazil Natural Barra Grande</a> coffee for a tasty example. Only the top layer of the cherry peel is removed in a water bath. The rest of the process, including the sugar fermentation and the separation of the pulp from the bean, are taken care of by sun drying. This method, just like the dry method, is highly dependent on the weather, which has to be consistent for the farmers to be able to dry the beans thoroughly.</p>\n<p>This process yields full-bodied beans with low-acidity. Less aliphatic acids are produced, which has a negative impact on the aroma of the coffee.</p>"
61
+ },
62
+ "related_articles": {
63
+ "type": "modular_content",
64
+ "name": "Related articles",
65
+ "value": [
66
+ "on_roasts",
67
+ "which_brewing_fits_you_"
68
+ ]
69
+ },
70
+ "meta_keywords": {
71
+ "type": "text",
72
+ "name": "Meta keywords",
73
+ "value": "\"coffee processing\", brewing"
74
+ },
75
+ "personas": {
76
+ "type": "taxonomy",
77
+ "name": "Personas",
78
+ "taxonomy_group": "personas",
79
+ "value": [
80
+ {
81
+ "name": "Coffee blogger",
82
+ "codename": "coffee_blogger"
83
+ },
84
+ {
85
+ "name": "Coffee lover",
86
+ "codename": "coffee_lover"
87
+ }
88
+ ]
89
+ },
90
+ "meta_description": {
91
+ "type": "text",
92
+ "name": "Meta description",
93
+ "value": "Learn about the techniques of processing the products of coffee plants. Different methods are used in different parts of the world."
94
+ },
95
+ "url_pattern": {
96
+ "type": "url_slug",
97
+ "name": "URL pattern",
98
+ "value": "coffee-processing-techniques"
99
+ },
100
+ "metadata__meta_title": {
101
+ "type": "text",
102
+ "name": "Meta title",
103
+ "value": "Coffee processing techniques"
104
+ },
105
+ "metadata__meta_description": {
106
+ "type": "text",
107
+ "name": "Meta description",
108
+ "value": "Learn about the techniques of processing the products of coffee plants. Different methods are used in different parts of the world."
109
+ },
110
+ "metadata__og_title": {
111
+ "type": "text",
112
+ "name": "og:title",
113
+ "value": "Coffee processing techniques"
114
+ },
115
+ "metadata__og_description": {
116
+ "type": "text",
117
+ "name": "og:description",
118
+ "value": "Learn about the techniques of processing the products of coffee plants. Different methods are used in different parts of the world."
119
+ },
120
+ "metadata__og_image": {
121
+ "type": "asset",
122
+ "name": "og:image",
123
+ "value": [
124
+ {
125
+ "name": "coffee-processing-techniques-1080px.jpg",
126
+ "type": "image/jpeg",
127
+ "size": 108409,
128
+ "description": "Dry process (also known as unwashed or natural coffee)",
129
+ "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/40edae81-37df-4d5e-8624-e2f7cfc50427/coffee-processing-techniques-1080px.jpg"
130
+ }
131
+ ]
132
+ },
133
+ "metadata__twitter_site": {
134
+ "type": "text",
135
+ "name": "twitter:site",
136
+ "value": "Dancing Goat"
137
+ },
138
+ "metadata__twitter_creator": {
139
+ "type": "text",
140
+ "name": "twitter:creator",
141
+ "value": "@kenticokontent"
142
+ },
143
+ "metadata__twitter_title": {
144
+ "type": "text",
145
+ "name": "twitter:title",
146
+ "value": "Coffee processing techniques"
147
+ },
148
+ "metadata__twitter_description": {
149
+ "type": "text",
150
+ "name": "twitter:description",
151
+ "value": "Learn about the techniques of processing the products of coffee plants. Different methods are used in different parts of the world."
152
+ },
153
+ "metadata__twitter_image": {
154
+ "type": "asset",
155
+ "name": "twitter:image",
156
+ "value": [
157
+ {
158
+ "name": "coffee-processing-techniques-1080px.jpg",
159
+ "type": "image/jpeg",
160
+ "size": 108409,
161
+ "description": "Dry process (also known as unwashed or natural coffee)",
162
+ "url": "https://assets-us-01.kc-usercontent.com:443/faf446d2-0544-0039-bb43-5d6ef816661a/40edae81-37df-4d5e-8624-e2f7cfc50427/coffee-processing-techniques-1080px.jpg"
163
+ }
164
+ ]
165
+ }
166
+ }
167
+ },
168
+ "modular_content": {}
169
169
  }