Class: AblyUi::Core::MeganavContentPlatform

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

#ably_stack_path, #aws_logo_path, #flexible_companies, #rocket_list

Constructor Details

#initialize(url_base:) ⇒ MeganavContentPlatform

Returns a new instance of MeganavContentPlatform.



9
10
11
# File 'lib/ably_ui/core/meganav_content_platform/meganav_content_platform.rb', line 9

def initialize(url_base:)
  @url_base = url_base
end

Instance Attribute Details

#url_baseObject (readonly)

Returns the value of attribute url_base.



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

def url_base
  @url_base
end