Sha256: b1028c961bdfb6156a3afd426f17ed33fd761b9b8d4c46802e454a776d6b9573

Contents?: true

Size: 482 Bytes

Versions: 37

Compression:

Stored size: 482 Bytes

Contents

require_relative '../helpers/navigation'

module Nexmo
  module OAS
    module Renderer
      module Presenters
        class Navigation
          include Helpers::Navigation

          attr_reader :title, :content

          def initialize(content:, title: nil)
            @content = content
            @title   = title
          end

          def navigation_from_content
            super(content: @content, title: @title)
          end
        end
      end
    end
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
nexmo-oas-renderer-0.11.3 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.11.2 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.11.1 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.11.0 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.10.0 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.9.0 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.8.0 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.7.1 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.7.0 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.6.6 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.6.5 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.6.4 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.6.3 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.6.2 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.6.1 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.5.6 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.5.5 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.5.4 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.5.2 lib/nexmo/oas/renderer/presenters/navigation.rb
nexmo-oas-renderer-0.5.1 lib/nexmo/oas/renderer/presenters/navigation.rb