Module: ActiveResource::ActsLikeActiveRecord

Defined in:
lib/active_resource/acts_like_active_record.rb

Instance Method Summary collapse

Instance Method Details

#destroyed?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/active_resource/acts_like_active_record.rb', line 4

def destroyed?
  !(new_record? || exists?)
end