Class: Locomotive::Mounter::Models::Site

Inherits:
Base
  • Object
show all
Defined in:
lib/locomotive/mounter/models/site.rb

Instance Attribute Summary

Attributes inherited from Base

#_id, #created_at, #mounting_point, #updated_at

Instance Method Summary collapse

Methods inherited from Base

#initialize, #persisted?

Methods included from Fields

#[], #attributes, #attributes_with_translations, #initialize, #localized_field?, #to_hash, #to_yaml, #translated_in, #translated_in?, #write_attributes

Constructor Details

This class inherits a constructor from Locomotive::Mounter::Models::Base

Instance Method Details

#nameObject

fields ##



8
# File 'lib/locomotive/mounter/models/site.rb', line 8

field :name

#to_sObject

methods ##



20
21
22
# File 'lib/locomotive/mounter/models/site.rb', line 20

def to_s
  self.name
end