Exception: Tilia::Dav::Exception::PaymentRequired
- Inherits:
-
Tilia::Dav::Exception
- Object
- StandardError
- Tilia::Dav::Exception
- Tilia::Dav::Exception::PaymentRequired
- Defined in:
- lib/tilia/dav/exception/payment_required.rb
Overview
Payment Required
The PaymentRequired exception may be thrown in a case where a user must pay to access a certain resource or operation.
Instance Method Summary collapse
-
#http_code ⇒ Object
Returns the HTTP statuscode for this exception.
Methods inherited from Tilia::Dav::Exception
Instance Method Details
#http_code ⇒ Object
Returns the HTTP statuscode for this exception
12 13 14 |
# File 'lib/tilia/dav/exception/payment_required.rb', line 12 def http_code 402 end |