Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
adding SF Contact Id to RegItem
ij committed Jul 20, 2016
1 parent 645b457 commit 40a44f4
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/sf/reg_item.rb
@@ -22,6 +22,7 @@ def create_from_reg_item_for(sf_reg_id)
attrs[sf_reg_item_attr] = reg_item_value unless reg_item_value.nil?
end
attrs['reg_registration_id__c'] = sf_reg_id
attrs['Contact__c'] = self.reg_item.send(:sf_contact_id)
Sf.client.create!("RegItem__c", attrs)
end
def reg_item_mapping
2 changes: 1 addition & 1 deletion lib/sf/version.rb
@@ -1,3 +1,3 @@
module Sf
VERSION = "0.1.37"
VERSION = "0.1.38"
end

0 comments on commit 40a44f4

Please sign in to comment.