module FmRest::Spyke::Model::Rescuable
Public Instance Methods
request(*args)
click to toggle source
Calls superclass method
# File lib/fmrest/spyke/model/rescuable.rb, line 12 def request(*args) begin super rescue => e rescue_with_handler(e) || raise end end
rescue_account_error(with: nil, &block)
click to toggle source
# File lib/fmrest/spyke/model/rescuable.rb, line 20 def rescue_account_error(with: nil, &block) rescue_from APIError::AccountError, with: with, &block end