Method: Jets::Resource::ChildStack::Authorizer#authorizer_logical_id
- Defined in:
- lib/jets/resource/child_stack/authorizer.rb
#authorizer_logical_id ⇒ Object
map the path to a camelized logical_id. IE: ProtectAuthorizer
30 31 32 33 34 |
# File 'lib/jets/resource/child_stack/authorizer.rb', line 30 def regexp = Regexp.new(".*#{Jets.config.project_namespace}-authorizers-") = @path.sub(regexp, '').sub('.yml', '') .underscore.camelize end |