Module: CfnDsl::JSONSerialisableObject

Included in:
ConditionDefinition, CreationPolicyDefinition, MappingDefinition, PropertyDefinition, UpdatePolicyDefinition
Defined in:
lib/cfndsl/json_serialisable_object.rb

Overview

JSONSerialisableObject

Instance Method Summary collapse

Instance Method Details

#as_json(_options = {}) ⇒ Object



6
7
8
# File 'lib/cfndsl/json_serialisable_object.rb', line 6

def as_json(_options = {})
  @value
end

#to_json(*args) ⇒ Object



10
11
12
# File 'lib/cfndsl/json_serialisable_object.rb', line 10

def to_json(*args)
  as_json.to_json(*args)
end