Exception: PagerdutyException
- Inherits:
-
Exception
- Object
- Exception
- 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, resp) ⇒ PagerdutyException
constructor
A new instance of PagerdutyException.
Constructor Details
#initialize(instance, resp) ⇒ PagerdutyException
Returns a new instance of PagerdutyException.
7 8 9 10 |
# File 'lib/pagerduty.rb', line 7 def initialize(instance, resp) @pagerduty_instance = instance @api_response = resp end |
Instance Attribute Details
#api_response ⇒ Object (readonly)
Returns the value of attribute api_response.
5 6 7 |
# File 'lib/pagerduty.rb', line 5 def api_response @api_response end |
#pagerduty_instance ⇒ Object (readonly)
Returns the value of attribute pagerduty_instance.
5 6 7 |
# File 'lib/pagerduty.rb', line 5 def pagerduty_instance @pagerduty_instance end |