Sha256: 72edb8e4c7fed4e0da4b3abb98b6fd5ab5cabe5a73f68baa99f431bca95ba0c5
Contents?: true
Size: 260 Bytes
Versions: 16
Compression:
Stored size: 260 Bytes
Contents
<%= application_name.camelize %>.<%= class_name %> = DS.Model.extend({ <% attributes.each_index do |idx| -%> <%= attributes[idx][:name].camelize(:lower) %>: DS.attr('<%= attributes[idx][:type] %>')<% if (idx < attributes.length-1) %>,<% end %> <% end -%> });
Version data entries
16 entries across 16 versions & 3 rubygems