Exception: PagerdutyException
- Inherits:
-
StandardError
- Object
- StandardError
- PagerdutyException
- Defined in:
- lib/pagerduty.rb
Instance Attribute Summary collapse
-
#api_response ⇒ Object
readonly
Returns the value of attribute api_response.
-
#pagerduty_instance ⇒ Object
readonly
Returns the value of attribute pagerduty_instance.
Instance Method Summary collapse
-
#initialize(instance, response, message) ⇒ PagerdutyException
constructor
A new instance of PagerdutyException.
Constructor Details
#initialize(instance, response, message) ⇒ PagerdutyException
Returns a new instance of PagerdutyException.
11 12 13 14 15 |
# File 'lib/pagerduty.rb', line 11 def initialize(instance, response, ) super() @pagerduty_instance = instance @api_response = response end |
Instance Attribute Details
#api_response ⇒ Object (readonly)
Returns the value of attribute api_response.
9 10 11 |
# File 'lib/pagerduty.rb', line 9 def api_response @api_response end |
#pagerduty_instance ⇒ Object (readonly)
Returns the value of attribute pagerduty_instance.
9 10 11 |
# File 'lib/pagerduty.rb', line 9 def pagerduty_instance @pagerduty_instance end |