Class: AblyUi::Core::MeganavContentCompany

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

Constant Summary

Constants included from Util

Util::DEFAULT_URL_BASE

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from SharedAssets

#ably_logo, #ably_stack_path, #aws_logo_path, #best_support, #fastest_implementation, #highest_performer, #highest_user_adoption

Methods included from Util

#abs_url, #append_random_postfix

Constructor Details

#initialize(url_base:) ⇒ MeganavContentCompany

Returns a new instance of MeganavContentCompany.



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

def url_base
  @url_base
end