Class: AblyUi::Core::MeganavContentWhyAbly

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

Returns a new instance of MeganavContentWhyAbly.



8
9
10
# File 'lib/ably_ui/core/meganav_content_why_ably/meganav_content_why_ably.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_why_ably/meganav_content_why_ably.rb', line 6

def url_base
  @url_base
end