Class: ShafClient::ApiError
- Inherits:
-
Resource
- Object
- BaseResource
- Resource
- ShafClient::ApiError
- Defined in:
- lib/shaf_client/api_error.rb
Constant Summary
Constants included from MimeTypes
MimeTypes::DEFAULT_ADAPTER, MimeTypes::MIME_TYPE_HAL, MimeTypes::MIME_TYPE_JSON
Instance Attribute Summary
Attributes inherited from Resource
Attributes inherited from BaseResource
#attributes, #curies, #embedded_resources, #links
Instance Method Summary collapse
Methods inherited from Resource
build, content_type, #destroy!, #get, #get_doc, #get_hal_form, #initialize, #inspect, profile, #reload!
Methods inherited from BaseResource
#[], #actions, #attribute, #curie, #embedded, #initialize, #inspect, #link, #rel?, #to_h, #to_s
Constructor Details
This class inherits a constructor from ShafClient::Resource
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ShafClient::BaseResource
Instance Method Details
#code ⇒ Object
13 14 15 |
# File 'lib/shaf_client/api_error.rb', line 13 def code attribute(:code) end |
#fields ⇒ Object
17 18 19 |
# File 'lib/shaf_client/api_error.rb', line 17 def fields attribute(:fields) end |
#title ⇒ Object
9 10 11 |
# File 'lib/shaf_client/api_error.rb', line 9 def title attribute(:title) end |