Sha256: 7bfff85839f842c8b67903b24fbc820a29873a1be4bc425de309e6062ac08b92

Contents?: true

Size: 1.14 KB

Versions: 28

Compression:

Stored size: 1.14 KB

Contents

- response = locals[:mock_response]

%div
  %label{:style => 'font-weight: bold'}
    endpoint:
  %a{href: "/templates/#{response.response_id}/preview"} #{response.name}
  %span -:-
  %a{href: "/requests/#{response.response_id}"} Track
  %br
  %label{:style => 'font-weight: bold'}
    ID:
  #{response.response_id}
  %br
  %label{:style => 'font-weight: bold'}
    status:
  #{response.response_spec.status}
  %br
  %label{:style => 'font-weight: bold'}
    Content-Type:
  #{response.response_spec[:content_type]}
  %br
  %label{:style => 'font-weight: bold'}
    required http method:
  #{response.request_spec.http_method}
  %br
  %label{:style => 'font-weight: bold'}
    required headers:
  #{response.request_spec.headers.to_hash}
  %br
  %label{:style => 'font-weight: bold'}
    required parameters:
  #{response.request_spec.parameters.to_hash}
  %br
  %label{:style => 'font-weight: bold'}
    required body content:
  #{response.request_spec.body_content}
  %br
  %label{:style => 'font-weight: bold'}
    delay:
  #{response.response_spec.delay}
  %br
  %label{:style => 'font-weight: bold'}
    default:
  #{response.default? ? 'true' : 'false'}
  %br
  %br

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
mirage-3.0.4 views/response.haml
mirage-3.0.3 views/response.haml
mirage-3.0.2 views/response.haml
mirage-3.0.1 views/response.haml
mirage-3.0.0 views/response.haml
mirage-3.0.0.alpha.17 views/response.haml
mirage-3.0.0.alpha.16 views/response.haml
mirage-3.0.0.alpha.15 views/response.haml