Class: Lucid::Shopify::Response::Error Abstract
- Extended by:
- Dry::Initializer
- Defined in:
- lib/lucid/shopify/response.rb
Overview
This class is abstract.
Instance Method Summary collapse
Instance Method Details
#message ⇒ String
20 21 22 23 24 25 26 |
# File 'lib/lucid/shopify/response.rb', line 20 def if response.errors? "bad response (#{response.status_code}): #{response..first}" else "bad response (#{response.status_code})" end end |