Sha256: e746e89c040114dbe0d7c84e6d3dd4fe752096b9e6972738734341bb65ae5e74
Contents?: true
Size: 809 Bytes
Versions: 2
Compression:
Stored size: 809 Bytes
Contents
<link rel="stylesheet" href="/style.css"> <header> <h3> <a href="/">Midtrans sinatra app</a> </h3> <a href="https://github.com/veritrans/veritrans-ruby" class="github">Source Code</a> </header> <% if @result.redirect_url %> <section> <p>Here's redirect url <a href='<%= @vtweb_url %>'><%= @vtweb_url %></a> </p> </section> <% end %> <section> <strong> Veritrans response: <% if @result.success? %> <span style="color: green">success</span> <% end %> </strong> <code> <pre> <%= JSON.pretty_generate(JSON.parse(@result.response.body)) %> </pre> </code> <% if @cahrge_params %> <strong>Request Body</strong> <code> <pre> <%= JSON.pretty_generate(@cahrge_params) %> </pre> </code> <% end %> <a href="/">Go back</a> </section>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
veritrans-2.3.0 | example/sinatra/response.erb |
veritrans-2.2.0 | example/sinatra/response.erb |