class Amazonite::ApiGateway::Template

Overview

Represents a mapping template used to transform a payload.

Included Modules

Defined in:

api_gateway/template.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(value : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]
def value : String | Nil #

The Apache Velocity Template Language (VTL) template content used for the template resource.


[View source]
def value=(value : String | Nil) #

The Apache Velocity Template Language (VTL) template content used for the template resource.


[View source]