Sha256: 11f1cfa4f36683bceee09effa363eca6c14cda3cbbb89b13c3bb4f594c15e9df

Contents?: true

Size: 678 Bytes

Versions: 4

Compression:

Stored size: 678 Bytes

Contents

%header
  %a.back{:href => "/smoke"} « Back to docs
  %h1= @source
  %h2 Try these neat examples in your console

- %w(json yaml xml).each do |format|
  %h2= "In #{format.upcase}"
  %pre
    %code= "curl -i http://#{env["HTTP_HOST"]}/smoke/#{@source}.#{format}"
- if Smoke.send(@source).requirements.any? 
  %h2 Requirements
  %p 
    You must set these properties before calling
    %code output.
    This can be done by adding query strings to your get requests.
  - Smoke.send(@source).requirements.each do |requirement|
    %li
      = requirement.to_s
      %pre
        %code= "http://#{env["HTTP_HOST"]}/smoke/#{@source}.(json|yaml|xml)?#{requirement}=string"
  
  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
smoke-rack-0.0.4 views/usage.haml
smoke-rack-0.0.3 views/usage.haml
smoke-rack-0.0.2 views/usage.haml
smoke-rack-0.0.1 views/usage.haml