Method: Jets::Resource::Permission#permission_logical_id
- Defined in:
- lib/jets/resource/permission.rb
#permission_logical_id ⇒ Object
29 30 31 32 33 34 |
# File 'lib/jets/resource/permission.rb', line 29 def logical_id = "{namespace}_permission" md = @associated_resource.logical_id.match(/(\d+)$/) counter = md[1] if md [logical_id, counter].compact.join('').underscore end |