Sha256: 57642790f132684d2e2a6664612cdc00823feb89c2bd14b8f6c7d74038495e6f

Contents?: true

Size: 669 Bytes

Versions: 1

Compression:

Stored size: 669 Bytes

Contents

%header
  %a.back{:href => "/smoke"} « Back to docs
  %h1= @source.name
  %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.name}.#{format}"
- if @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.
  - @source.requirements.each do |requirement|
    %li
      = requirement.to_s
      %pre
        %code= "http://#{env["HTTP_HOST"]}/smoke/#{@source.name}.(json|yaml|xml)?#{requirement}=string"
  
  

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-smoke-1.0.0 views/usage.haml