* FIX: return an empty result if response from Amazon is missing attributes Check we have the basic attributes requires to construct a Onebox for Amazon. This is an attempt to handle scenarios where we receive a valid 200-status response from an Amazon request that does not include the data we’re expecting. * Update lib/onebox/engine/amazon_onebox.rb Co-authored-by: Régis Hanol <regis@hanol.fr> Co-authored-by: Régis Hanol <regis@hanol.fr> |
||
|---|---|---|
| .. | ||
| engine | ||
| engine_spec.rb | ||
| helpers_spec.rb | ||
| layout_spec.rb | ||
| matcher_spec.rb | ||
| oembed_spec.rb | ||
| open_graph_spec.rb | ||
| preview_spec.rb | ||
| status_check_spec.rb | ||