<% module_namespacing_when_supported do -%>
module Types
  class <%= type_ruby_name.split('::')[-1] %> < Types::BaseEnum
<% prepared_values.each do |v| %>    value "<%= v[0] %>"<%= v.length > 1 ? ", value: #{v[1]}" : "" %>
<% end %>  end
end
<% end -%>
