Class: Locomotive::Snippet

Inherits:
Object
  • Object
show all
Includes:
Extensions::Shared::Slug, Mongoid::Document
Defined in:
app/models/locomotive/snippet.rb

Instance Method Summary collapse

Instance Method Details

#nameObject

behaviours ##



8
# File 'app/models/locomotive/snippet.rb', line 8

field :name

#siteObject

validations ##



13
# File 'app/models/locomotive/snippet.rb', line 13

belongs_to :site, class_name: 'Locomotive::Site'