Class: AblyUi::Core::CustomerLogos

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
lib/ably_ui/core/customer_logos/customer_logos.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(companies:, additional_css: '') ⇒ CustomerLogos

Returns a new instance of CustomerLogos.



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

def initialize(companies:, additional_css: '')
  @companies = companies
  @additional_css = additional_css
end

Instance Attribute Details

#companiesObject (readonly)

Returns the value of attribute companies.



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

def companies
  @companies
end