module Closeio::Client::CustomField
Public Instance Methods
Source
# File lib/closeio/resources/custom_field.rb, line 12 def create_custom_field(options = {}) post(custom_field_path, options) end
Source
# File lib/closeio/resources/custom_field.rb, line 20 def delete_custom_field(id) delete("#{custom_field_path}#{id}/") end
Source
# File lib/closeio/resources/custom_field.rb, line 8 def find_custom_field(id) get("#{custom_field_path}#{id}/") end
Source
# File lib/closeio/resources/custom_field.rb, line 4 def list_custom_fields get(custom_field_path) end
Source
# File lib/closeio/resources/custom_field.rb, line 16 def update_custom_field(id, options = {}) put("#{custom_field_path}#{id}/", options) end
Private Instance Methods
Source
# File lib/closeio/resources/custom_field.rb, line 26 def custom_field_path 'custom_fields/lead/' end