Class: AblyUi::Core::CustomerLogos
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- AblyUi::Core::CustomerLogos
- Defined in:
- lib/ably_ui/core/customer_logos/customer_logos.rb
Instance Attribute Summary collapse
-
#companies ⇒ Object
readonly
Returns the value of attribute companies.
Instance Method Summary collapse
-
#initialize(companies:, additional_css: '') ⇒ CustomerLogos
constructor
A new instance of CustomerLogos.
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
#companies ⇒ Object (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 |