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