module ActiveInteraction::ActiveModelable

Implement the minimal ActiveModel interface.

@private

Public Instance Methods

i18n_scope() click to toggle source

@return (see ClassMethods#i18n_scope)

@see ActiveModel::Translation#i18n_scope

# File lib/active_interaction/concerns/active_modelable.rb, line 18
def i18n_scope
  self.class.i18n_scope
end
new_record?() click to toggle source

@return [Boolean]

@see ActiveRecord::Presistence#new_record?

# File lib/active_interaction/concerns/active_modelable.rb, line 25
def new_record?
  true
end
persisted?() click to toggle source

@return [Boolean]

@see ActiveRecord::Presistence#persisted?

# File lib/active_interaction/concerns/active_modelable.rb, line 32
def persisted?
  false
end