lib/nexmo/oas/renderer/presenters/content_switcher.rb in nexmo-oas-renderer-2.4.1 vs lib/nexmo/oas/renderer/presenters/content_switcher.rb in nexmo-oas-renderer-2.5.0

- old
+ new

@@ -3,10 +3,12 @@ module Nexmo module OAS module Renderer module Presenters class ContentSwitcher - def initialize(format:, label:, theme_light:, force_type: nil) + attr_reader :panels + + def initialize(format:, label: nil, theme_light:, force_type: nil) @format = format @panels = [] @label = label @force_type = force_type @theme_light = theme_light