Class: Avo::ReferrerParamsComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/avo/referrer_params_component.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_pathObject (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