Class: Swivel::Error
Instance Attribute Summary
Attributes inherited from Response
#disable_auto_refresh, #hash_doc, #refreshed_at
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Response
#[], #id, #initialize, #method_missing, #to_param, #to_s, #to_xml
Constructor Details
This class inherits a constructor from Swivel::Response
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Swivel::Response
Class Method Details
.resource ⇒ Object
623 624 625 |
# File 'lib/swivel.rb', line 623 def self.resource 'error' end |
Instance Method Details
#raise ⇒ Object
626 627 628 |
# File 'lib/swivel.rb', line 626 def raise super ApiError, , backtrace ? backtrace.split("\n") : '' end |