class Trello::Member
A Member
is a user of the Trello
service.
@!attribute [r] id
@return [String]
@!attribute [r] username
@return [String]
@!attribute [rw] email
@return [String]
@!attribute [rw] full_name
@return [String]
@!attribute [rw] initials
@return [String]
@!attribute [r] avatar_id
@return [String]
@!attribute [rw] bio
@return [String]
@!attribute [r] url
@return [String]
@!attribute [r] prefs
@return [Hash]
@!attribute [r] activity_blocked
@return [Boolean]
@!attribute [r] bio_data
@return [Hash]
@!attribute [r] confirmed
@return [Boolean]
@!attribute [r] enterprise_id
@return [String]
@!attribute [r] deactivated_enterprise_ids
@return [String]
@!attribute [r] referrer_member_id
@return [String]
@!attribute [r] admin_orgs_perm_id
@return [String]
@!attribute [r] member_type
@return [String]
@!attribute [r] non_public
@return [Hash]
@!attribute [r] non_public_available
@return [Hash]
@!attribute [r] products
@return [Array]
@!attribute [r] status
@return [String]
@!attribute [r] board_ids
@return [Array<String>]
@!attribute [r] organization_ids
@return [Array<String>]
@!attribute [r] admin_enterprise_ids
@return [Array<String>]
@!attribute [r] limits
@return [Hash]
@!attribute [r] login_types
@return [Array<String>]
@!attribute [r] marketing_opt_in
@return [Hash]
@!attribute [r] pinned_board_ids
@return [String]
@!attribute [w] avatar_source
@return [String]
Public Class Methods
Finds a user
The argument may be specified as either an id or a username.
# File lib/trello/member.rb, line 108 def find(id_or_username, params = {}) client.find(:member, id_or_username, params) end
Public Instance Methods
Retrieve a URL to the avatar.
Valid values for options are:
:large (170x170) :small (30x30)
# File lib/trello/member.rb, line 118 def avatar_url(options = { size: :large }) size = options[:size] == :small ? 30 : 170 "https://trello-avatars.s3.amazonaws.com/#{avatar_id}/#{size}.png" end