Module: Outpost::Model::Identifier

Extended by:
ActiveSupport::Concern
Defined in:
lib/outpost/model/identifier.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

OBJ_KEY_SEPARATOR =
"-"

Instance Method Summary collapse

Instance Method Details

#obj_keyObject

Default obj_key pattern



39
40
41
# File 'lib/outpost/model/identifier.rb', line 39

def obj_key
  @obj_key ||= self.class.obj_key(self.id)
end