Sha256: 5c27405fcc4c96e44f9cc2c138521ca011d13fc64a387e597e24706574ecd915
Contents?: true
Size: 1.16 KB
Versions: 4
Compression:
Stored size: 1.16 KB
Contents
# This file was auto-generated by lib/tasks/web.rake desc 'UsersProfile methods.' command 'users_profile' do |g| g.desc "Retrieves a user's profile information." g.long_desc %( Retrieves a user's profile information. ) g.command 'get' do |c| c.flag 'include_labels', desc: 'Include labels for each ID in custom profile fields.' c.flag 'user', desc: 'User to retrieve profile info for.' c.action do |_global_options, options, _args| puts JSON.dump($client.users_profile_get(options)) end end g.desc 'Set the profile information for a user.' g.long_desc %( Set the profile information for a user. ) g.command 'set' do |c| c.flag 'name', desc: 'Name of a single key to set. Usable only if profile is not passed.' c.flag 'profile', desc: 'Collection of key:value pairs presented as a URL-encoded JSON hash.' c.flag 'user', desc: 'ID of user to change. This argument may only be specified by team admins on paid teams.' c.flag 'value', desc: 'Value to set a single key to. Usable only if profile is not passed.' c.action do |_global_options, options, _args| puts JSON.dump($client.users_profile_set(options)) end end end
Version data entries
4 entries across 4 versions & 1 rubygems