Class: Crm::DailyFocusWidgetComponent

Inherits:
ApplicationComponent show all
Defined in:
app/components/crm/daily_focus_widget_component.rb

Delegated Instance Attributes collapse

Methods inherited from ApplicationComponent

#cms_link, #image_asset_tag, #image_tag, #number_to_currency, #number_with_delimiter, #post_path, #post_url, #strip_tags

Instance Method Summary collapse

Methods inherited from ApplicationComponent

#fetch_or_fallback

Constructor Details

#initialize(employee:, conversation:) ⇒ DailyFocusWidgetComponent

Returns a new instance of DailyFocusWidgetComponent.



6
7
8
9
10
# File 'app/components/crm/daily_focus_widget_component.rb', line 6

def initialize(employee:, conversation:)
  super()
  @employee = employee
  @conversation = conversation
end

Instance Method Details

#fa_iconObject

Alias for Helpers#fa_icon

Returns:

  • (Object)

    Helpers#fa_icon

See Also:



4
# File 'app/components/crm/daily_focus_widget_component.rb', line 4

delegate :fa_icon, to: :helpers