Exception: Drillbit::Errors::UnpermittedInclusions
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Drillbit::Errors::UnpermittedInclusions
- Includes:
- Erratum::Error
- Defined in:
- lib/drillbit/errors/unpermitted_inclusions.rb
Instance Attribute Summary collapse
-
#inclusions ⇒ Object
Returns the value of attribute inclusions.
Instance Method Summary collapse
Instance Attribute Details
#inclusions ⇒ Object
Returns the value of attribute inclusions.
10 11 12 |
# File 'lib/drillbit/errors/unpermitted_inclusions.rb', line 10 def inclusions @inclusions end |
Instance Method Details
#detail ⇒ Object
20 21 22 23 |
# File 'lib/drillbit/errors/unpermitted_inclusions.rb', line 20 def detail 'One or more of the inclusions you attempted to pass via the "include" parameter ' \ 'are either not available or not authorized.' end |
#http_status ⇒ Object
12 13 14 |
# File 'lib/drillbit/errors/unpermitted_inclusions.rb', line 12 def http_status 422 end |
#source ⇒ Object
25 26 27 |
# File 'lib/drillbit/errors/unpermitted_inclusions.rb', line 25 def source { inclusions: inclusions } end |
#title ⇒ Object
16 17 18 |
# File 'lib/drillbit/errors/unpermitted_inclusions.rb', line 16 def title 'Unpermitted Inclusion' end |