Sha256: ff2816866c54a0ceb44b0b592492b113c7e7493723980da4714f56da0f28e0e3
Contents?: true
Size: 367 Bytes
Versions: 5
Compression:
Stored size: 367 Bytes
Contents
class UserPolicy def initialize(*) end def permitted_attributes [:username, :email, :password, :password_confirmation] end def create? true end def show? true end class Scope attr_reader :user, :scope def initialize(user, scope) @user = user @scope = scope end def resolve scope end end end
Version data entries
5 entries across 5 versions & 1 rubygems