Class: TalkToYourApp::Plugins::Flipper::Actor
- Inherits:
-
Struct
- Object
- Struct
- TalkToYourApp::Plugins::Flipper::Actor
- Defined in:
- lib/talk_to_your_app/plugins/flipper/plugin.rb
Overview
A minimal actor: Flipper only needs an object responding to #flipper_id. We reconstitute one from a class name + id rather than loading the host’s real record, which avoids coupling to the host’s user model and any privilege leak from instantiating it.
Instance Attribute Summary collapse
-
#flipper_id ⇒ Object
Returns the value of attribute flipper_id.
Instance Attribute Details
#flipper_id ⇒ Object
Returns the value of attribute flipper_id
21 22 23 |
# File 'lib/talk_to_your_app/plugins/flipper/plugin.rb', line 21 def flipper_id @flipper_id end |