Sha256: 58f6cf1af2208f25363bdbfe1de06c5327ebd96f0e7070f3fc9f6530a6b317b0
Contents?: true
Size: 1.01 KB
Versions: 7
Compression:
Stored size: 1.01 KB
Contents
- klass = action.method.downcase .action{ class: klass } .method{ class: klass }=action.method .subresource %a{ href: 'javascript:void(0);' }= action.path %span= " : #{action.label}" %span.visibility= format_visibility(action) .clear %form.hidden{ action: action.path, method: action.method, :'data-tag' => tag } - if action.description .description= markdown.render(action.description) - if %i(unreleased beta).include?(action.visibility) .warning= 'This API is still under development and will continue to evolve.' - if config.examples && action.examples.any? .examples - action.examples.each do |example| = haml :example, locals: { action: action, example: example } - if action.parameters.any? %table.parameters %tr %th='Parameter' %th='Value' %th='Type' %th='Description' - action.parameters.each do |parameter| = haml :parameter, locals: { parameter: parameter } = haml :response
Version data entries
7 entries across 7 versions & 1 rubygems