Class: AblyUi::Core::MeganavContentUseCases

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
Util
Defined in:
lib/ably_ui/core/meganav_content_use_cases/meganav_content_use_cases.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

Constructor Details

#initialize(url_base:) ⇒ MeganavContentUseCases

Returns a new instance of MeganavContentUseCases.



8
9
10
# File 'lib/ably_ui/core/meganav_content_use_cases/meganav_content_use_cases.rb', line 8

def initialize(url_base:)
  @url_base = url_base
end

Instance Attribute Details

#url_baseObject (readonly)

Returns the value of attribute url_base.



6
7
8
# File 'lib/ably_ui/core/meganav_content_use_cases/meganav_content_use_cases.rb', line 6

def url_base
  @url_base
end