Class: MultiTenantSupport::Current

Inherits:
ActiveSupport::CurrentAttributes
  • Object
show all
Defined in:
lib/multi_tenant_support/current.rb

Overview

This class is for internal usage only

Instance Method Summary collapse

Instance Method Details

#protection_stateObject



19
20
21
# File 'lib/multi_tenant_support/current.rb', line 19

def protection_state
  attributes[:protection_state] ||= PROTECTED
end