Class: AppDynamics::V3

Inherits:
Integration
  • Object
show all
Defined in:
app/models/pager_tree/integrations/app_dynamics/v3.rb

Constant Summary collapse

OPTIONS =
[]

Instance Method Summary collapse

Instance Method Details

#adapter_actionObject



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_createObject



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

Returns:

  • (Boolean)


6
7
8
# File 'app/models/pager_tree/integrations/app_dynamics/v3.rb', line 6

def adapter_supports_incoming?
  true
end

#adapter_thirdparty_idObject



20
21
22
# File 'app/models/pager_tree/integrations/app_dynamics/v3.rb', line 20

def adapter_thirdparty_id
  _thirdparty_id
end