module Datamappify::Entity::ActiveModel::Compatibility

Add non-entity related stuff so that an entity can be used in say, forms

Public Instance Methods

persisted?() click to toggle source

@return [Boolean]

# File lib/datamappify/entity/active_model/compatibility.rb, line 7
def persisted?
  !id.blank?
end