lib/centaman/service/create_secondary_member.rb in centaman-4.0.1 vs lib/centaman/service/create_secondary_member.rb in centaman-4.0.2
- old
+ new
@@ -33,12 +33,12 @@
private
def build_member(member)
{
- 'FirstName' => member.first_name,
- 'LastName' => member.last_name,
- 'Title' => member.title,
+ 'FirstName' => member.first_name.try(:upcase),
+ 'LastName' => member.last_name.try(:upcase),
+ 'Title' => member.title.try(:upcase),
'IsPrimary' => false,
'PrimaryMemberId' => primary_member_id
}
end