Module: Grant::Status::MonoThread::InstanceMethods

Defined in:
lib/grant/status.rb

Instance Method Summary collapse

Instance Method Details

#is_grant_disabledObject

1 status per thread



11
12
13
# File 'lib/grant/status.rb', line 11

def is_grant_disabled
  Thread.current[:grant_disabled]
end

#is_grant_disabled=(value) ⇒ Object



15
16
17
# File 'lib/grant/status.rb', line 15

def is_grant_disabled= value
  Thread.current[:grant_disabled] = value
end