Module: DaisybillApi::Ext::CRUD::InstanceMethods
- Defined in:
- lib/daisybill_api/ext/crud.rb
Instance Method Summary collapse
Instance Method Details
#destroyed? ⇒ Boolean
100 101 102 |
# File 'lib/daisybill_api/ext/crud.rb', line 100 def destroyed? !!@destroyed end |
#new_record? ⇒ Boolean
96 97 98 |
# File 'lib/daisybill_api/ext/crud.rb', line 96 def new_record? id.nil? end |