Module: LHS::Record::Model
- Extended by:
- ActiveSupport::Concern
- Included in:
- LHS::Record
- Defined in:
- lib/lhs/concerns/record/model.rb
Instance Method Summary collapse
Instance Method Details
#persisted? ⇒ Boolean
15 16 17 |
# File 'lib/lhs/concerns/record/model.rb', line 15 def persisted? href.present? end |
#to_model ⇒ Object
11 12 13 |
# File 'lib/lhs/concerns/record/model.rb', line 11 def to_model self end |