Class: Quiver::Action::FilterError
- Defined in:
- lib/quiver/action/filter_error.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
readonly
Returns the value of attribute detail.
Attributes inherited from Error
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(detail) ⇒ FilterError
constructor
A new instance of FilterError.
- #path ⇒ Object
- #serialization_type ⇒ Object
- #status ⇒ Object
- #title ⇒ Object
Methods inherited from Error
Constructor Details
#initialize(detail) ⇒ FilterError
Returns a new instance of FilterError.
5 6 7 |
# File 'lib/quiver/action/filter_error.rb', line 5 def initialize(detail) self.detail = detail end |
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail.
3 4 5 |
# File 'lib/quiver/action/filter_error.rb', line 3 def detail @detail end |
Instance Method Details
#code ⇒ Object
21 22 23 |
# File 'lib/quiver/action/filter_error.rb', line 21 def code :filter_error end |
#path ⇒ Object
13 14 15 |
# File 'lib/quiver/action/filter_error.rb', line 13 def path "/" end |
#serialization_type ⇒ Object
25 26 27 |
# File 'lib/quiver/action/filter_error.rb', line 25 def serialization_type 'Error' end |
#status ⇒ Object
17 18 19 |
# File 'lib/quiver/action/filter_error.rb', line 17 def status 422 end |
#title ⇒ Object
9 10 11 |
# File 'lib/quiver/action/filter_error.rb', line 9 def title 'filter_error' end |