Sha256: a7c508f88b9e747cd99ed94b8498add5ec01d065aef9be8fc5ca3b4fc16b3343
Contents?: true
Size: 446 Bytes
Versions: 18
Compression:
Stored size: 446 Bytes
Contents
module TokenAuthenticateMe module Generators class PoliciesGenerator < ::Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def create_invite_poliocy copy_file 'invite_policy.rb', 'app/policies/token_authenticate_me/invite_policy.rb' end def create_user_poliocy copy_file 'user_policy.rb', 'app/policies/token_authenticate_me/user_policy.rb' end end end end
Version data entries
18 entries across 18 versions & 1 rubygems