module Hoodoo::ActiveRecord::Translated::ClassMethods

Collection of class methods that get defined on an including class via Hoodoo::ActiveRecord::Translated::included.

Public Instance Methods

translated( context ) click to toggle source

TODO: Placeholder.

context

Hoodoo::Services::Context instance describing a call context. This is typically a value passed to one of the Hoodoo::Services::Implementation instance methods that a resource subclass implements.

# File lib/hoodoo/active/active_record/translated.rb, line 70
def translated( context )
  prevailing_scope = all() # "Model.all" -> returns anonymous scope
  return prevailing_scope
end