module Teamleader::CustomFields

Public Instance Methods

add_custom_field_option(params={}) click to toggle source
# File lib/teamleader/api/custom_fields.rb, line 13
def add_custom_field_option(params={})
  required_params(%i[custom_field_id option_name], params)
  request '/addCustomFieldOption.php', params
end
get_custom_field_info(params={}) click to toggle source
# File lib/teamleader/api/custom_fields.rb, line 8
def get_custom_field_info(params={})
  required_params(%i[custom_field_id], params)
  request '/getCustomFieldInfo.php', params
end
get_custom_fields(params={}) click to toggle source
# File lib/teamleader/api/custom_fields.rb, line 3
def get_custom_fields(params={})
  required_params(%i[for], params)
  request '/getCustomFields.php', params
end