Module: AWSCDK::ITokenMapper
- Defined in:
- i_token_mapper.rb
Overview
Interface to apply operation to tokens in a string.
Interface so it can be exported via jsii.
Class Method Summary collapse
Instance Method Summary collapse
-
#map_token(t) ⇒ Object
Replace a single token.
Class Method Details
.jsii_overridable_methods ⇒ Object
18 19 20 21 22 |
# File 'i_token_mapper.rb', line 18 def self.jsii_overridable_methods { :map_token => { kind: :method, name: "mapToken", is_optional: false }, } end |
Instance Method Details
#map_token(t) ⇒ Object
Replace a single token.
13 14 15 16 |
# File 'i_token_mapper.rb', line 13 def map_token(t) Jsii::Type.check_type(t, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5JUmVzb2x2YWJsZSJ9")), "t") jsii_call_method("mapToken", [t]) end |