Sha256: c3409e505f5c74dfdec7f777bf671c8ad4d8bf2385c07b577cded1714ef49f08
Contents?: true
Size: 1.68 KB
Versions: 5
Compression:
Stored size: 1.68 KB
Contents
<html> <head> <title>REST Exchange generator</title> <link rel="stylesheet" href="css/bootstrap.css" type="text/css" charset="utf-8" /> </head> <body> <main class="container-fluid"> <h1>REST Exchange generator</h1> <h2>Handler creator <small><%= GenerateServer.create_params['feedback'] %></small></h2> <form class="form-horizontal" method="POST" action="/generate"> <div class="form-group"> <label class="col-sm-2 control-label" for="className">Class Name</label> <div class="col-sm-10"> <input id="className" class="form-control" type="text" name="className" placeholder="ApiUnderTest" value="<%= GenerateServer.create_params['className'] %>"> <p class="help-block">This is what you will refer to the API in your test code. Use Pascal Case</p> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label" for="baseUrl">Base URL</label> <div class="col-sm-10"> <input id="baseUrl" class="form-control" type="text" name="baseUrl" placeholder="https://url/which/api/starts_with" value="<%= GenerateServer.create_params['baseUrl'] %>"> <p class="help-block">Url with which all REST requests using this class will start with. Exchanges creating using this class can append to this with the 'suburl' parameter.</p> </div> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <input type="submit" value="Generate handler" class="btn btn-primary"> </div> </div> </form> </main> </body> </html>
Version data entries
5 entries across 5 versions & 1 rubygems