Class: Avo::ReferrerParamsComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Avo::ReferrerParamsComponent
- Defined in:
- app/components/avo/referrer_params_component.rb
Instance Attribute Summary collapse
-
#back_path ⇒ Object
readonly
Returns the value of attribute back_path.
Instance Method Summary collapse
-
#initialize(back_path: nil) ⇒ ReferrerParamsComponent
constructor
A new instance of ReferrerParamsComponent.
Constructor Details
#initialize(back_path: nil) ⇒ ReferrerParamsComponent
Returns a new instance of ReferrerParamsComponent.
6 7 8 |
# File 'app/components/avo/referrer_params_component.rb', line 6 def initialize(back_path: nil) @back_path = back_path end |
Instance Attribute Details
#back_path ⇒ Object (readonly)
Returns the value of attribute back_path.
4 5 6 |
# File 'app/components/avo/referrer_params_component.rb', line 4 def back_path @back_path end |