Class: Codily::Elements::Healthcheck

Inherits:
ServiceBelonggingBase show all
Defined in:
lib/codily/elements/healthcheck.rb

Instance Attribute Summary

Attributes inherited from Base

#fastly_obj, #root

Instance Method Summary collapse

Methods inherited from ServiceBelonggingBase

#as_hash, #initialize, #key, parent_class, #parent_key, #service_id, #service_name

Methods inherited from Base

#as_dsl_hash, #as_hash, def_attr, defaults, #dsl_args, #id, #initialize, #inspect, #key, #name, name_for_attr, #parent, #parent_class, parent_class, #parent_key, #parents, path

Constructor Details

This class inherits a constructor from Codily::Elements::ServiceBelonggingBase

Instance Method Details

#fastly_classObject



35
36
37
# File 'lib/codily/elements/healthcheck.rb', line 35

def fastly_class
  Fastly::Healthcheck
end

#setupObject



31
32
33
# File 'lib/codily/elements/healthcheck.rb', line 31

def setup
  delete_if_empty! :comment
end