Class: PeakFlowUtils::Group
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- PeakFlowUtils::Group
- Defined in:
- lib/peak_flow_utils/models/group.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#at_group ⇒ Object
15 16 17 |
# File 'lib/peak_flow_utils/models/group.rb', line 15 def at_group @at_group ||= PeakFlowUtils::GroupService.find_by_handler_and_id(at_handler, identifier) # rubocop:disable Rails/DynamicFindBy end |
Instance Method Details
#at_handler ⇒ Object
11 12 13 |
# File 'lib/peak_flow_utils/models/group.rb', line 11 def at_handler @at_handler ||= handler.at_handler end |
#to_param ⇒ Object
19 20 21 |
# File 'lib/peak_flow_utils/models/group.rb', line 19 def to_param identifier end |