<% module_namespacing do -%> class <%= class_name %><%= “ < #{options.classify}” if options %> <% unless options -%>

include Guacamole::Model

<% end -%>

<% attributes.reject{|attr| attr.reference?}.each do |attribute| -%>

attribute :<%= attribute.name %>, <%= attribute.type_class %>

<% end -%> end <% end -%>