Class: Locomotive::Snippet
- Inherits:
-
Object
- Object
- Locomotive::Snippet
- Includes:
- Mongoid::Document
- Defined in:
- app/models/locomotive/snippet.rb
Instance Method Summary collapse
-
#id ⇒ Object
behaviours ##.
-
#name ⇒ Object
fields ##.
-
#site ⇒ Object
validations ##.
Instance Method Details
#id ⇒ Object
behaviours ##
24 |
# File 'app/models/locomotive/snippet.rb', line 24 attr_protected :id |
#name ⇒ Object
fields ##
7 |
# File 'app/models/locomotive/snippet.rb', line 7 field :name |
#site ⇒ Object
validations ##
12 |
# File 'app/models/locomotive/snippet.rb', line 12 referenced_in :site, :class_name => 'Locomotive::Site' |