class JustimmoClient::Errors::RetrievalFailed

Raised when retrieval from the API fails.

Public Class Methods

new(exception) click to toggle source
Calls superclass method
# File lib/justimmo_client/errors.rb, line 19
def initialize(exception)
  super "Failed to get data from the API:\n#{exception.class}: #{exception}"
end