Skip to content

Commit

Permalink
added the fax_number field
Browse files Browse the repository at this point in the history
  • Loading branch information
ij committed Jul 31, 2014
1 parent a7d0d19 commit 35e0a7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/sf/reg_registration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Sf::RegRegistration
'reg_classes', 'reg_event_id', 'reg_registration_id', 'rne_private',
'roster_private', 'sponsor_private', 'state', 'status',
'street_address', 'submitted_at', 'title', 'updated_at', 'version',
'website', 'zip' ]
'website', 'zip', 'fax_number' ]

FIELDS_SELECT_STR = FIELDS.map{|fd| "#{fd}__c"}.join(', ')

Expand Down Expand Up @@ -81,6 +81,7 @@ def registration_mapping
'mobile_number' => 'mobile_number__c',
'organization_name' => 'user_entered_organization_name__c',
'phone_number' => 'phone_number__c',
'fax_number' => 'fax_number__c',
'prefix' => 'prefix__c',
'reg_classes' => 'reg_classes__c',
'id' => 'reg_registration_id__c',
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.0.1"
VERSION = "0.0.2"
end

0 comments on commit 35e0a7f

Please sign in to comment.