Class: Www::SnowMeltingQuoteFormComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Www::SnowMeltingQuoteFormComponent
- Defined in:
- app/components/www/snow_melting_quote_form_component.rb
Instance Method Summary collapse
-
#initialize(room_type: 'driveway', header_variant: :bold, show_postal_code: true) ⇒ SnowMeltingQuoteFormComponent
constructor
A new instance of SnowMeltingQuoteFormComponent.
Methods inherited from ApplicationComponent
#cms_link, #fetch_or_fallback, #image_asset_tag, #image_tag, #number_to_currency, #number_with_delimiter, #post_path, #post_url, #strip_tags
Constructor Details
#initialize(room_type: 'driveway', header_variant: :bold, show_postal_code: true) ⇒ SnowMeltingQuoteFormComponent
Returns a new instance of SnowMeltingQuoteFormComponent.
4 5 6 7 8 9 |
# File 'app/components/www/snow_melting_quote_form_component.rb', line 4 def initialize(room_type: 'driveway', header_variant: :bold, show_postal_code: true) super() @room_type = room_type @header_variant = header_variant @show_postal_code = show_postal_code end |