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::MIME_TYPE_ALPS_JSON, MimeTypes::MIME_TYPE_HAL, MimeTypes::MIME_TYPE_JSON, MimeTypes::MIME_TYPE_PROBLEM_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, #content_type, default_resource_class!, #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
14 15 16 |
# File 'lib/shaf_client/api_error.rb', line 14 def code attribute(:code) end |
#fields ⇒ Object
18 19 20 |
# File 'lib/shaf_client/api_error.rb', line 18 def fields attribute(:fields) end |
#title ⇒ Object
10 11 12 |
# File 'lib/shaf_client/api_error.rb', line 10 def title attribute(:title) end |