Sha256: 1a3615f4fa00ed97936b8821df87c54d84b70b46176fe9f5b04e4e00f5191917

Contents?: true

Size: 625 Bytes

Versions: 1

Compression:

Stored size: 625 Bytes

Contents

<%= ErubisHelper.tabs(static_indentation) %>#<%= ErubisHelper.spaces(indentation*2) %>@option option [<%= option[:type] %>] :<%= option[:name] %> (<%= option[:required] ? 'Required' : 'Optional' %>)
<% if option[:description].present? %>
<%= ErubisHelper.tabs(static_indentation) %>#<%= ErubisHelper.spaces(indentation*2) %>- <%= option[:description] %>
<% end %>
<% option[:children].each do |child_option_name, child_option| %>
<%= Erubis::Eruby.new(File.read('lib/usps/api/templates/_options.erb')).result(option: child_option, parents: [], indentation: indentation + 1, static_indentation: static_indentation) %><% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
usps-ruby-client-0.1.0 lib/usps/api/templates/_options.erb