Class: PeakFlowUtils::Handler

Inherits:
ApplicationRecord show all
Defined in:
lib/peak_flow_utils/models/handler.rb

Instance Method Summary collapse

Instance Method Details

#at_handlerObject



7
8
9
# File 'lib/peak_flow_utils/models/handler.rb', line 7

def at_handler
  @at_handler ||= PeakFlowUtils::HandlerHelper.find(identifier)
end

#to_paramObject



11
12
13
# File 'lib/peak_flow_utils/models/handler.rb', line 11

def to_param
  identifier
end