Sha256: 42f27fd5d2c9ec5caa89d05c003f7c9e7695d28b85ffdf0929e9775d8fa5a5b8

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

%html
  %head
  %body
    %h1=@collection.name.gsub('Sinatra::Rabbit::', '')
    %blockquote=@collection.description
    .url=@collection.full_path
    .features
      - @collection.features.each do |f|
        %p.feature=f.name
    %table.operations
      %thead
        %tr
          %th Name
          %th Type
          %th Valid values
          %th Description
      %tbody
        - @collection.operations.each do |o|
          %tr
            %td.name
              %a{:href => o.docs_url }
            %td.method=o.http_method.to_s.upcase
            %td.url
              %a{:href=>o.full_path}=o.full_path

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra-rabbit-1.0.11 lib/sinatra/docs/collection.haml
sinatra-rabbit-1.0.6 lib/sinatra/docs/collection.haml