Exception: Morpheus::NetConnectNotAllowedError
- Inherits:
-
StandardError
- Object
- StandardError
- Morpheus::NetConnectNotAllowedError
- Defined in:
- lib/morpheus/errors.rb
Overview
Occurs when a request from a remote host is made while Morpheus::Configuration.allow_net_connect is set to false.
Instance Attribute Summary collapse
-
#request ⇒ Object
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(request = nil) ⇒ NetConnectNotAllowedError
constructor
A new instance of NetConnectNotAllowedError.
Constructor Details
#initialize(request = nil) ⇒ NetConnectNotAllowedError
Returns a new instance of NetConnectNotAllowedError.
9 10 11 |
# File 'lib/morpheus/errors.rb', line 9 def initialize(request = nil) self.request= request end |
Instance Attribute Details
#request ⇒ Object
Returns the value of attribute request.
8 9 10 |
# File 'lib/morpheus/errors.rb', line 8 def request @request end |