lib/beeiq_api.rb in beeiq_api-0.1.1 vs lib/beeiq_api.rb in beeiq_api-0.2.0
- old
+ new
@@ -36,9 +36,10 @@
def create_contact(data = {})
create_many_contact([data])
end
def create_many_contact(data = [])
+ create_or_update_contact(Config::ActionType::ADD_CONTACT, data)
end
def update_contact(data = {})
update_many_contact([data])
end