Sha256: 4f0a1ec7e75484dae88a6f440da4d487fe11a395125cec95d07b73790fbc6f90

Contents?: true

Size: 408 Bytes

Versions: 5

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

<% files.each do |f| %>
require_relative 'endpoints/<%= f[:file] %>'
<% end %>

module Usps
  module Api
    module Endpoints
<% files.each do |f| %>
      include <%= f[:module] %>
<% end %>

      ACTIONS = {
<% files.each do |f| %>
        <%= f[:file] %>: '<%= f[:module] %>',
<% end %>
      }.freeze
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
usps-ruby-client-0.2.0 lib/usps/api/templates/endpoints.erb
usps-ruby-client-0.1.3 lib/usps/api/templates/endpoints.erb
usps-ruby-client-0.1.2 lib/usps/api/templates/endpoints.erb
usps-ruby-client-0.1.1 lib/usps/api/templates/endpoints.erb
usps-ruby-client-0.1.0 lib/usps/api/templates/endpoints.erb