class
Amazonite::ApiGateway::Template
- Amazonite::ApiGateway::Template
- Reference
- Object
Overview
Represents a mapping template used to transform a payload.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/template.crConstructors
- .new(pull : JSON::PullParser)
- .new(value : String | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
-
#value : String | Nil
The Apache Velocity Template Language (VTL) template content used for the template resource.
-
#value=(value : String | Nil)
The Apache Velocity Template Language (VTL) template content used for the template resource.
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def value : String | Nil
#
The Apache Velocity Template Language (VTL) template content used for the template resource.
def value=(value : String | Nil)
#
The Apache Velocity Template Language (VTL) template content used for the template resource.