Sha256: 7f779c836cd09df7f19ace08388a879dd76f1983692f2842d3aafb27093a8696

Contents?: true

Size: 410 Bytes

Versions: 5

Compression:

Stored size: 410 Bytes

Contents

# Fields for <%= @soql_object.class_name %> mapped from SOQL <%= @soql_object.backend_name %>
class <%= @soql_object.class_name %> < SoqlData
  module Fields
    extend SoqlGlobalObjectData
    <% @soql_class.fields.each do |field| %>
    # Element for '<%= field['label'] %>', type '<%= field['type'] %>'
    soql_element :<%= field['label'].unused_ruby_name %>, '<%= field['name'] %>'
    <% end %>
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
leap_salesforce-0.1.5 lib/leap_salesforce/generator/templates/soql_object_field_names.rb.erb
leap_salesforce-0.1.4 lib/leap_salesforce/generator/templates/soql_object_field_names.rb.erb
leap_salesforce-0.1.3 lib/leap_salesforce/generator/templates/soql_object_field_names.rb.erb
leap_salesforce-0.1.2 lib/leap_salesforce/generator/templates/soql_object_field_names.rb.erb
leap_salesforce-0.1.1 lib/leap_salesforce/generator/templates/soql_object_field_names.rb.erb