Sha256: 61847daa51b88aec78f018826aa8e8157c9c61b940eb05fd67e26f2498f31170

Contents?: true

Size: 363 Bytes

Versions: 5

Compression:

Stored size: 363 Bytes

Contents

class StructureType < Freeberry::Models::StructureType
  define_enum do |builder|
    builder.member :page,     :object => new("page")
    builder.member :posts,    :object => new("posts")
    builder.member :main,     :object => new("main")
    builder.member :redirect, :object => new("redirect")
    builder.member :group,    :object => new("group")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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