Method: Cnvrg::API.display_error

Defined in:
lib/cnvrg/api.rb

.display_error(response) ⇒ Object



136
137
138
# File 'lib/cnvrg/api.rb', line 136

def self.display_error(response)
    "Oops, an error occurred! Reason: #{response['message']}"
end