Module: DaisybillApi::Ext::CRUD::InstanceMethods

Defined in:
lib/daisybill_api/ext/crud.rb

Instance Method Summary collapse

Instance Method Details

#destroyed?Boolean

Returns:

  • (Boolean)


99
100
101
# File 'lib/daisybill_api/ext/crud.rb', line 99

def destroyed?
  !!@destroyed
end

#new_record?Boolean

Returns:

  • (Boolean)


95
96
97
# File 'lib/daisybill_api/ext/crud.rb', line 95

def new_record?
  id.nil?
end