Class: AblyUi::Core::MeganavContentProducts

Inherits:
ViewComponent::Base
  • Object
show all
Includes:
SharedAssets, Util
Defined in:
lib/ably_ui/core/meganav_content_products/meganav_content_products.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_logo, #ably_stack_path, #aws_logo_path, #highest_performer, #highest_user_adoption, #users_love_us

Constructor Details

#initialize(url_base:) ⇒ MeganavContentProducts

Returns a new instance of MeganavContentProducts.



9
10
11
# File 'lib/ably_ui/core/meganav_content_products/meganav_content_products.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_products/meganav_content_products.rb', line 7

def url_base
  @url_base
end