Sha256: fa3998b91b5c05ddc755cd24ee6f459748625e3862b10432f0a1f83c04301595
Contents?: true
Size: 460 Bytes
Versions: 14
Compression:
Stored size: 460 Bytes
Contents
# -*- encoding : utf-8 -*- require 'mdwa/dsl' MDWA::DSL.users.register '<%= @user %>' do |u| # Description of what this user does in the system. # u.description = 'Member of the programmers team.' # User roles # By default, the user name is already included by default. # u.user_roles = ['<%= @user %>'] end <%- unless options.requirement.blank? -%> MDWA::DSL.user('<%= @user %>').in_requirements << '<%= options.requirement %>' <%- end -%>
Version data entries
14 entries across 14 versions & 1 rubygems