Sha256: a57b1ed67bf69b687c17fc3d819f3a42a5d04af5b66f8c6962f2ddb2afa2638a

Contents?: true

Size: 437 Bytes

Versions: 7

Compression:

Stored size: 437 Bytes

Contents

div[id="#{model}.response"  style="--row-count: 3"]
  - repo.map[model][:actions].each do |action|
    // TODO: Nest table in this div for easier jq toggling
    // add borders to this div
    - if route = repo.action_route(model, action)
      div.request-action-title #{repo.action_route(model, action)}
      - if data = repo.load_template(model, action)
        = render 'shared/response_table', locals: { model: model, rows: data }

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_api_documentation-0.2.2 app/views/rails_api_doc/api_docs/_response_api_table.slim
rails_api_documentation-0.2.1 app/views/rails_api_doc/api_docs/_response_api_table.slim
rails_api_documentation-0.2.0 app/views/rails_api_doc/api_docs/_response_api_table.slim
rails_api_documentation-0.1.9 app/views/rails_api_doc/api_docs/_response_api_table.slim
rails_api_documentation-0.1.8 app/views/rails_api_doc/api_docs/_response_api_table.slim
rails_api_documentation-0.1.7 app/views/rails_api_doc/api_docs/_response_api_table.slim
rails_api_documentation-0.1.6 app/views/rails_api_doc/api_docs/_response_api_table.slim