Sha256: d607f5f23496c3d87ebcdabfc3914061b7207586d6a5359cfaa0426f925b3fa6

Contents?: true

Size: 585 Bytes

Versions: 4

Compression:

Stored size: 585 Bytes

Contents

<%= ErubisHelper.tabs(static_indentation) %>#<%= ErubisHelper.spaces(indentation*2) %> * *:<%= option[:name].underscore %>* (<%= option[:required] ? 'required, ' : '' %><%= ['(alias)', '(group)'].any?(option[:type].downcase) ? 'Hash' : option[:type] %>)<% if option[:description] %> — <%= 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

4 entries across 4 versions & 1 rubygems

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