lib/mrkt/concerns/crud_custom_activities.rb in mrkt-0.7.0 vs lib/mrkt/concerns/crud_custom_activities.rb in mrkt-0.8.0
- old
+ new
@@ -1,10 +1,11 @@
require 'time'
module Mrkt
module CrudCustomActivities
def get_list_of_custom_activity_types
- get('/rest/v1/activities/types.json')
+ warn 'DEPRECATED: Use #get_activity_types instead of #get_list_of_custom_activity_types!'
+ get_activity_types
end
def create_custom_activity(lead_id, activity_type_id, primary_attribute_value, attributes: {}, date: nil)
date ||= Time.now
date = date.utc.iso8601