Class: AppDynamics::V3
- Inherits:
-
Integration
- Object
- Integration
- AppDynamics::V3
- Defined in:
- app/models/pager_tree/integrations/app_dynamics/v3.rb
Constant Summary collapse
- OPTIONS =
[]
Instance Method Summary collapse
- #adapter_action ⇒ Object
- #adapter_process_create ⇒ Object
- #adapter_supports_incoming? ⇒ Boolean
- #adapter_thirdparty_id ⇒ Object
Instance Method Details
#adapter_action ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'app/models/pager_tree/integrations/app_dynamics/v3.rb', line 10 def adapter_action if _is_create? :create elsif _is_resolve? :resolve else :other end end |
#adapter_process_create ⇒ Object
24 25 26 27 28 29 30 31 32 |
# File 'app/models/pager_tree/integrations/app_dynamics/v3.rb', line 24 def adapter_process_create Alert.new( title: _title, description: _description, thirdparty_id: _thirdparty_id, dedup_keys: [], additional_data: _additional_datums ) end |
#adapter_supports_incoming? ⇒ Boolean
6 7 8 |
# File 'app/models/pager_tree/integrations/app_dynamics/v3.rb', line 6 def adapter_supports_incoming? true end |
#adapter_thirdparty_id ⇒ Object
20 21 22 |
# File 'app/models/pager_tree/integrations/app_dynamics/v3.rb', line 20 def adapter_thirdparty_id _thirdparty_id end |