Sha256: 2cf9f7cb343e62d2c67efcbbcaceaa71687e603a7d3f9397cfe4182e4ca73992

Contents?: true

Size: 166 Bytes

Versions: 39

Compression:

Stored size: 166 Bytes

Contents

<% module_namespacing do -%>
class <%= policy_class_name %> < <%= parent_class_name %>
  def permitted_attributes
    [<%= strong_parameters %>]
  end
end
<% end -%>

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
api_me-0.14.1 lib/generators/api_me/policy/templates/policy.rb
api_me-0.14.0 lib/generators/api_me/policy/templates/policy.rb
api_me-0.13.0 lib/generators/api_me/policy/templates/policy.rb
api_me-0.12.0 lib/generators/api_me/policy/templates/policy.rb
api_me-0.11.1 lib/generators/api_me/policy/templates/policy.rb
api_me-0.10.7 lib/generators/api_me/policy/templates/policy.rb
api_me-0.10.6 lib/generators/api_me/policy/templates/policy.rb
api_me-0.10.5 lib/generators/api_me/policy/templates/policy.rb
api_me-0.10.4 lib/generators/api_me/policy/templates/policy.rb
api_me-0.10.3 lib/generators/api_me/policy/templates/policy.rb
api_me-0.10.2 lib/generators/api_me/policy/templates/policy.rb
api_me-0.10.1 lib/generators/api_me/policy/templates/policy.rb
api_me-0.10.0 lib/generators/api_me/policy/templates/policy.rb
api_me-0.9.4 lib/generators/api_me/policy/templates/policy.rb
api_me-0.9.3 lib/generators/api_me/policy/templates/policy.rb
api_me-0.9.2 lib/generators/api_me/policy/templates/policy.rb
api_me-0.9.1 lib/generators/api_me/policy/templates/policy.rb
api_me-0.9.0 lib/generators/api_me/policy/templates/policy.rb
api_me-0.8.3 lib/generators/api_me/policy/templates/policy.rb
api_me-0.7.1 lib/generators/api_me/policy/templates/policy.rb