Class: AblyUi::Core::MeganavItemsMobile

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
MeganavConfig, Util
Defined in:
lib/ably_ui/core/meganav_items_mobile/meganav_items_mobile.rb

Constant Summary

Constants included from Util

Util::DEFAULT_URL_BASE

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Util

#abs_url, #append_random_postfix

Methods included from MeganavConfig

#panels, #theme, #theme_setup, #themes

Constructor Details

#initialize(session_data:, theme_name:, login_link:, url_base:) ⇒ MeganavItemsMobile

Returns a new instance of MeganavItemsMobile.



9
10
11
12
13
14
# File 'lib/ably_ui/core/meganav_items_mobile/meganav_items_mobile.rb', line 9

def initialize(session_data:, theme_name:, login_link:, url_base:)
  @theme_name = theme_name
  @session_data = session_data
  @login_link = 
  @url_base = url_base
end

Instance Attribute Details

Returns the value of attribute login_link.



7
8
9
# File 'lib/ably_ui/core/meganav_items_mobile/meganav_items_mobile.rb', line 7

def 
  @login_link
end

#optionsObject (readonly)

Returns the value of attribute options.



7
8
9
# File 'lib/ably_ui/core/meganav_items_mobile/meganav_items_mobile.rb', line 7

def options
  @options
end

#url_baseObject (readonly)

Returns the value of attribute url_base.



7
8
9
# File 'lib/ably_ui/core/meganav_items_mobile/meganav_items_mobile.rb', line 7

def url_base
  @url_base
end