Sha256: a758369f9a8e51cf7834c46174d2fa2d60dcf00a40dffccf4caa1a63c9e4f58f

Contents?: true

Size: 359 Bytes

Versions: 4

Compression:

Stored size: 359 Bytes

Contents

- if params  
  %p
    %strong Parameters:
    - case params
    - when Array
      %pre= params.join("\n")
    - when Hash
      %table.table.table-striped.table-bordered.table-condensed
        %tr
          %th Param
          %th Description
        - params.each do |param, description|
          %tr
            %td= param 
            %td= description

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
api_docs-0.0.4 app/views/api_docs/_params.html.haml
api_docs-0.0.3 app/views/api_docs/_params.html.haml
api_docs-0.0.2 app/views/api_docs/_params.html.haml
api_docs-0.0.1 app/views/api_docs/_params.html.haml