class WavefrontHclOutput::Notificant
Munge notificant output into something compatible with the Wavefront Terraform provider
Public Instance Methods
hcl_fields()
click to toggle source
# File lib/wavefront-cli/output/hcl/notificant.rb, line 11 def hcl_fields %w[title description triggers template method recipient emailSubject contentType customHttpHeaders] end
khandle_customHttpHeaders()
click to toggle source
rubocop:disable Naming/MethodName
# File lib/wavefront-cli/output/hcl/notificant.rb, line 29 def khandle_customHttpHeaders 'custom_headers' end
khandle_title()
click to toggle source
# File lib/wavefront-cli/output/hcl/notificant.rb, line 24 def khandle_title 'name' end
resource_name()
click to toggle source
# File lib/wavefront-cli/output/hcl/notificant.rb, line 20 def resource_name 'alert_target' end
vhandle_template(val)
click to toggle source
# File lib/wavefront-cli/output/hcl/notificant.rb, line 16 def vhandle_template(val) val.gsub(/\s*\n/, '') end