Class: Datadog::Notifications::Plugins::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/notifications/plugins/base.rb

Direct Known Subclasses

ActionController, ActiveJob, ActiveRecord, GRPC, Grape

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tags: [], **_opts) ⇒ Base

Options:

*:tags - additional tags

[View source]

8
9
10
# File 'lib/datadog/notifications/plugins/base.rb', line 8

def initialize(tags: [], **_opts)
  @tags = tags
end

Instance Attribute Details

#tagsObject (readonly)

Returns the value of attribute tags.


3
4
5
# File 'lib/datadog/notifications/plugins/base.rb', line 3

def tags
  @tags
end