Sha256: 1d9847982587c0ff83d4be56c58f6e635a4a23a4f200efd6eeab5cbc279e228b

Contents?: true

Size: 395 Bytes

Versions: 2

Compression:

Stored size: 395 Bytes

Contents

<%= javascript_include_tag "#{Veritrans.config.api_host}/v2/assets/js/midtrans.min.js" %>

<script type="text/javascript">
  Veritrans.url = "<%= Veritrans.config.api_host %>/v2/token";
  Veritrans.client_key = "<%= Veritrans.config.client_key %>";
</script>

<% unless Veritrans.config.client_key.present? %>
  <h4 style="color: red">Please add client_key in config/veritrans.yml</h4>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
veritrans-2.3.0 lib/generators/templates/views/_veritrans_include.erb
veritrans-2.2.0 lib/generators/templates/views/_veritrans_include.erb