Exception: Resizing::APIError
Instance Method Summary collapse
Instance Method Details
#decoded_body ⇒ Object
22 23 24 |
# File 'lib/resizing.rb', line 22 def decoded_body @decoded_body ||= {} end |
#decoded_body=(value) ⇒ Object
26 27 28 29 |
# File 'lib/resizing.rb', line 26 def decoded_body=(value) raise ArgumentError, 'The decoded_body is expected to be passed a Hash.' unless value.is_a? Hash @decoded_body = value end |