Exception: DACPClient::DACPForbiddenError
- Inherits:
-
StandardError
- Object
- StandardError
- DACPClient::DACPForbiddenError
- Defined in:
- lib/dacpclient/client.rb
Overview
This error is raised if the DACP resource returns forbidden or service unavailable
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ DACPForbiddenError
constructor
A new instance of DACPForbiddenError.
Constructor Details
#initialize(result) ⇒ DACPForbiddenError
Returns a new instance of DACPForbiddenError.
321 322 323 |
# File 'lib/dacpclient/client.rb', line 321 def initialize(result) @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
320 321 322 |
# File 'lib/dacpclient/client.rb', line 320 def result @result end |