Skip to content

Commit

Permalink
adding SF Contact Id to RegItem
Browse files Browse the repository at this point in the history
  • Loading branch information
ij committed Jul 20, 2016
1 parent 645b457 commit 40a44f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/sf/reg_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/sf/version.rb
Original file line number Diff line number Diff line change
@@ -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.