Module: ApiRecord::Findable

Extended by:
ActiveSupport::Concern
Includes:
Base
Included in:
All, Destroyable, Saveable
Defined in:
lib/api_record/findable.rb

Instance Method Summary collapse

Methods included from Base

#has_error?, #inspect, #validate!

Instance Method Details

#new_record?Boolean



29
30
31
# File 'lib/api_record/findable.rb', line 29

def new_record?
  id.nil?
end