class Kf5Api::UserField
Constants
- ACTIONS_HASH
Public Class Methods
active(query_params = {})
click to toggle source
获取状态为启用的自定义字段列表
# File lib/kf5_api/user_field.rb, line 20 def active(query_params = {}) get(ACTIONS_HASH[:active], query_params).parsed_response end
all(query_params = {})
click to toggle source
用户自定义字段列表
# File lib/kf5_api/user_field.rb, line 15 def all(query_params = {}) get(ACTIONS_HASH[:all], query_params).parsed_response end
field_by_id(id)
click to toggle source
查看用户自定义字段
# File lib/kf5_api/user_field.rb, line 25 def field_by_id(id) action = format(ACTIONS_HASH[:user_fields], id: id) get(action).parsed_response end