Method: Keymaker::Response#on_error

Defined in:
lib/keymaker/response.rb

#on_errorObject



37
38
39
40
41
42
# File 'lib/keymaker/response.rb', line 37

def on_error
  unless success?
    yield self
  end
  self
end