Sha256: bbce87b646460dd605be2cbb8cc44dae187b0faf153489790b944bffaca29282

Contents?: true

Size: 311 Bytes

Versions: 5

Compression:

Stored size: 311 Bytes

Contents

class RoleType < Freeberry::Models::RoleType
  define_enum do |builder|
    builder.member :default,   :object => new("default")
    builder.member :redactor,  :object => new("redactor")
    builder.member :moderator, :object => new("moderator")
    builder.member :admin,     :object => new("admin")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
freeberry-0.3.0 lib/generators/freeberry/models/templates/models/role_type.rb
freeberry-0.2.9 lib/generators/freeberry/models/templates/models/role_type.rb
freeberry-0.2.7 lib/generators/freeberry/models/templates/models/role_type.rb
freeberry-0.2.6 lib/generators/freeberry/models/templates/models/role_type.rb
freeberry-0.2.5 lib/generators/freeberry/models/templates/models/role_type.rb