This repo hasn't had a successful analysis for its default branch yet.

jeremytregunna/ruby-trello

View on GitHub
doc/Trello/Member.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
  Class: Trello::Member
  
    &mdash; Documentation by YARD 0.9.25
  
</title>

  <link rel="stylesheet" href="../css/style.css" type="text/css" />

  <link rel="stylesheet" href="../css/common.css" type="text/css" />

<script type="text/javascript">
  pathId = "Trello::Member";
  relpath = '../';
</script>


  <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>

  <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>


  </head>
  <body>
    <div class="nav_wrap">
      <iframe id="nav" src="../class_list.html?1"></iframe>
      <div id="resizer"></div>
    </div>

    <div id="main" tabindex="-1">
      <div id="header">
        <div id="menu">
  
    <a href="../_index.html">Index (M)</a> &raquo;
    <span class='title'><span class='object_link'><a href="../Trello.html" title="Trello (module)">Trello</a></span></span>
     &raquo; 
    <span class="title">Member</span>
  
</div>

        <div id="search">
  
    <a class="full_list_link" id="class_list_link"
        href="../class_list.html">

        <svg width="24" height="24">
          <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
          <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
          <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
        </svg>
    </a>
  
</div>
        <div class="clear"></div>
      </div>

      <div id="content"><h1>Class: Trello::Member
  
  
  
</h1>
<div class="box_info">
  
  <dl>
    <dt>Inherits:</dt>
    <dd>
      <span class="inheritName"><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
      
        <ul class="fullTree">
          <li>Object</li>
          
            <li class="next"><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></li>
          
            <li class="next">Trello::Member</li>
          
        </ul>
        <a href="#" class="inheritanceTree">show all</a>
      
    </dd>
  </dl>
  

  
  
  
  
  <dl>
      <dt>Includes:</dt>
      <dd><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></dd>
  </dl>
  
  

  

  
  <dl>
    <dt>Defined in:</dt>
    <dd>lib/trello/member.rb</dd>
  </dl>
  
</div>

<h2>Overview</h2><div class="docstring">
  <div class="discussion">
    
<p>A Member is a user of the Trello service.</p>


  </div>
</div>
<div class="tags">
  

</div>



  <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
  <ul class="summary">
    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#activity_blocked-instance_method" title="#activity_blocked (instance method)">#<strong>activity_blocked</strong>  &#x21d2; Boolean </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#admin_enterprise_ids-instance_method" title="#admin_enterprise_ids (instance method)">#<strong>admin_enterprise_ids</strong>  &#x21d2; Array&lt;String&gt; </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#admin_orgs_perm_id-instance_method" title="#admin_orgs_perm_id (instance method)">#<strong>admin_orgs_perm_id</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#avatar_id-instance_method" title="#avatar_id (instance method)">#<strong>avatar_id</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#avatar_source=-instance_method" title="#avatar_source= (instance method)">#<strong>avatar_source</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
    
      <span class="note title writeonly">writeonly</span>
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#bio-instance_method" title="#bio (instance method)">#<strong>bio</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#bio_data-instance_method" title="#bio_data (instance method)">#<strong>bio_data</strong>  &#x21d2; Hash </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#board_ids-instance_method" title="#board_ids (instance method)">#<strong>board_ids</strong>  &#x21d2; Array&lt;String&gt; </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#confirmed-instance_method" title="#confirmed (instance method)">#<strong>confirmed</strong>  &#x21d2; Boolean </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#deactivated_enterprise_ids-instance_method" title="#deactivated_enterprise_ids (instance method)">#<strong>deactivated_enterprise_ids</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#email-instance_method" title="#email (instance method)">#<strong>email</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#enterprise_id-instance_method" title="#enterprise_id (instance method)">#<strong>enterprise_id</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#full_name-instance_method" title="#full_name (instance method)">#<strong>full_name</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#id-instance_method" title="#id (instance method)">#<strong>id</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#initials-instance_method" title="#initials (instance method)">#<strong>initials</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#limits-instance_method" title="#limits (instance method)">#<strong>limits</strong>  &#x21d2; Hash </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#login_types-instance_method" title="#login_types (instance method)">#<strong>login_types</strong>  &#x21d2; Array&lt;String&gt; </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#marketing_opt_in-instance_method" title="#marketing_opt_in (instance method)">#<strong>marketing_opt_in</strong>  &#x21d2; Hash </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#member_type-instance_method" title="#member_type (instance method)">#<strong>member_type</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#non_public-instance_method" title="#non_public (instance method)">#<strong>non_public</strong>  &#x21d2; Hash </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#non_public_available-instance_method" title="#non_public_available (instance method)">#<strong>non_public_available</strong>  &#x21d2; Hash </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#organization_ids-instance_method" title="#organization_ids (instance method)">#<strong>organization_ids</strong>  &#x21d2; Array&lt;String&gt; </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#pinned_board_ids-instance_method" title="#pinned_board_ids (instance method)">#<strong>pinned_board_ids</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#prefs-instance_method" title="#prefs (instance method)">#<strong>prefs</strong>  &#x21d2; Hash </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#products-instance_method" title="#products (instance method)">#<strong>products</strong>  &#x21d2; Array </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#referrer_member_id-instance_method" title="#referrer_member_id (instance method)">#<strong>referrer_member_id</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#status-instance_method" title="#status (instance method)">#<strong>status</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#url-instance_method" title="#url (instance method)">#<strong>url</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#username-instance_method" title="#username (instance method)">#<strong>username</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
      <span class="note title readonly">readonly</span>
    
    
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></div></span>
  
</li>

    
  </ul>



  
  
  <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></h3>
  <p class="inherited"><span class='object_link'><a href="BasicData.html#client-instance_method" title="Trello::BasicData#client (method)">#client</a></span></p>


  
    <h2>
      Class Method Summary
      <small><a href="#" class="summary_toggle">collapse</a></small>
    </h2>

    <ul class="summary">
      
        <li class="public ">
  <span class="summary_signature">
    
      <a href="#find-class_method" title="find (class method)">.<strong>find</strong>(id_or_username, params = {})  &#x21d2; Object </a>
    

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'>
<p>Finds a user.</p>
</div></span>
  
</li>

      
    </ul>
  
    <h2>
      Instance Method Summary
      <small><a href="#" class="summary_toggle">collapse</a></small>
    </h2>

    <ul class="summary">
      
        <li class="public ">
  <span class="summary_signature">
    
      <a href="#avatar_url-instance_method" title="#avatar_url (instance method)">#<strong>avatar_url</strong>(options = { size: :large })  &#x21d2; Object </a>
    

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'>
<p>Retrieve a URL to the avatar.</p>
</div></span>
  
</li>

      
        <li class="public ">
  <span class="summary_signature">
    
      <a href="#request_prefix-instance_method" title="#request_prefix (instance method)">#<strong>request_prefix</strong>  &#x21d2; Object </a>
    

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'>
<p>:nodoc:.</p>
</div></span>
  
</li>

      
    </ul>
  


  
  
  
  
  
  
  
  
  <h3 class="inherited">Methods included from <span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></h3>
  <p class="inherited"><span class='object_link'><a href="HasActions.html#actions-instance_method" title="Trello::HasActions#actions (method)">#actions</a></span></p>

  
  
  
  
  
  
  
  
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></h3>
  <p class="inherited"><span class='object_link'><a href="BasicData.html#==-instance_method" title="Trello::BasicData#== (method)">#==</a></span>, <span class='object_link'><a href="BasicData.html#attributes-instance_method" title="Trello::BasicData#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="BasicData.html#client-class_method" title="Trello::BasicData.client (method)">client</a></span>, <span class='object_link'><a href="BasicData.html#collection_name-instance_method" title="Trello::BasicData#collection_name (method)">#collection_name</a></span>, <span class='object_link'><a href="BasicData.html#collection_path-instance_method" title="Trello::BasicData#collection_path (method)">#collection_path</a></span>, <span class='object_link'><a href="BasicData.html#create-class_method" title="Trello::BasicData.create (method)">create</a></span>, <span class='object_link'><a href="BasicData.html#element_name-instance_method" title="Trello::BasicData#element_name (method)">#element_name</a></span>, <span class='object_link'><a href="BasicData.html#element_path-instance_method" title="Trello::BasicData#element_path (method)">#element_path</a></span>, <span class='object_link'><a href="BasicData.html#hash-instance_method" title="Trello::BasicData#hash (method)">#hash</a></span>, <span class='object_link'><a href="BasicData.html#initialize-instance_method" title="Trello::BasicData#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="BasicData.html#many-class_method" title="Trello::BasicData.many (method)">many</a></span>, <span class='object_link'><a href="BasicData.html#one-class_method" title="Trello::BasicData.one (method)">one</a></span>, <span class='object_link'><a href="BasicData.html#parse-class_method" title="Trello::BasicData.parse (method)">parse</a></span>, <span class='object_link'><a href="BasicData.html#parse_many-class_method" title="Trello::BasicData.parse_many (method)">parse_many</a></span>, <span class='object_link'><a href="BasicData.html#path_name-class_method" title="Trello::BasicData.path_name (method)">path_name</a></span>, <span class='object_link'><a href="BasicData.html#refresh!-instance_method" title="Trello::BasicData#refresh! (method)">#refresh!</a></span>, <span class='object_link'><a href="BasicData.html#register_attrs-class_method" title="Trello::BasicData.register_attrs (method)">register_attrs</a></span>, <span class='object_link'><a href="BasicData.html#save-class_method" title="Trello::BasicData.save (method)">save</a></span>, <span class='object_link'><a href="BasicData.html#save-instance_method" title="Trello::BasicData#save (method)">#save</a></span>, <span class='object_link'><a href="BasicData.html#schema-class_method" title="Trello::BasicData.schema (method)">schema</a></span>, <span class='object_link'><a href="BasicData.html#schema-instance_method" title="Trello::BasicData#schema (method)">#schema</a></span>, <span class='object_link'><a href="BasicData.html#update!-instance_method" title="Trello::BasicData#update! (method)">#update!</a></span>, <span class='object_link'><a href="BasicData.html#update_fields-instance_method" title="Trello::BasicData#update_fields (method)">#update_fields</a></span></p>

  
  
  
  
  
  
  
  
  <h3 class="inherited">Methods included from <span class='object_link'><a href="JsonUtils.html" title="Trello::JsonUtils (module)">JsonUtils</a></span></h3>
  <p class="inherited"><span class='object_link'><a href="JsonUtils.html#included-class_method" title="Trello::JsonUtils.included (method)">included</a></span></p>

  
  
  <div id="constructor_details" class="method_details_list">
  <h2>Constructor Details</h2>
  
    <p class="notice">This class inherits a constructor from <span class='object_link'><a href="BasicData.html#initialize-instance_method" title="Trello::BasicData#initialize (method)">Trello::BasicData</a></span></p>
  
</div>

  <div id="instance_attr_details" class="attr_details">
    <h2>Instance Attribute Details</h2>
    
      
      <span id=""></span>
      <div class="method_details first">
  <h3 class="signature first" id="activity_blocked-instance_method">
  
    #<strong>activity_blocked</strong>  &#x21d2; <tt>Boolean</tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="admin_enterprise_ids-instance_method">
  
    #<strong>admin_enterprise_ids</strong>  &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="../String.html" title="String (class)">String</a></span>&gt;</tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="../String.html" title="String (class)">String</a></span>&gt;</tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="admin_orgs_perm_id-instance_method">
  
    #<strong>admin_orgs_perm_id</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="avatar_id-instance_method">
  
    #<strong>avatar_id</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="avatar_source=-instance_method">
  
    #<strong>avatar_source=</strong>(value)  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(writeonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="bio=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="bio-instance_method">
  
    #<strong>bio</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="bio_data-instance_method">
  
    #<strong>bio_data</strong>  &#x21d2; <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="board_ids-instance_method">
  
    #<strong>board_ids</strong>  &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="../String.html" title="String (class)">String</a></span>&gt;</tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="../String.html" title="String (class)">String</a></span>&gt;</tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="confirmed-instance_method">
  
    #<strong>confirmed</strong>  &#x21d2; <tt>Boolean</tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="deactivated_enterprise_ids-instance_method">
  
    #<strong>deactivated_enterprise_ids</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="email=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="email-instance_method">
  
    #<strong>email</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="enterprise_id-instance_method">
  
    #<strong>enterprise_id</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="full_name=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="full_name-instance_method">
  
    #<strong>full_name</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="id-instance_method">
  
    #<strong>id</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id="initials=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="initials-instance_method">
  
    #<strong>initials</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="limits-instance_method">
  
    #<strong>limits</strong>  &#x21d2; <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="login_types-instance_method">
  
    #<strong>login_types</strong>  &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="../String.html" title="String (class)">String</a></span>&gt;</tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="../String.html" title="String (class)">String</a></span>&gt;</tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="marketing_opt_in-instance_method">
  
    #<strong>marketing_opt_in</strong>  &#x21d2; <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="member_type-instance_method">
  
    #<strong>member_type</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="non_public-instance_method">
  
    #<strong>non_public</strong>  &#x21d2; <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="non_public_available-instance_method">
  
    #<strong>non_public_available</strong>  &#x21d2; <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="organization_ids-instance_method">
  
    #<strong>organization_ids</strong>  &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="../String.html" title="String (class)">String</a></span>&gt;</tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="../String.html" title="String (class)">String</a></span>&gt;</tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="pinned_board_ids-instance_method">
  
    #<strong>pinned_board_ids</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="prefs-instance_method">
  
    #<strong>prefs</strong>  &#x21d2; <tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Hash.html" title="Hash (class)">Hash</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="products-instance_method">
  
    #<strong>products</strong>  &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="referrer_member_id-instance_method">
  
    #<strong>referrer_member_id</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="status-instance_method">
  
    #<strong>status</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="url-instance_method">
  
    #<strong>url</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="username-instance_method">
  
    #<strong>username</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    

  </div>
</div>
<div class="tags">
  
<p class="tag_title">Returns:</p>
<ul class="return">
  
    <li>
      
      
        <span class='type'>(<tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 62</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Member (class)">Member</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:email</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:prefs</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:activity_blocked</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>activityBlocked</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio_data</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>bioData</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:confirmed</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enterprise_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprise</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:deactivated_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesDeactivated</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:referrer_member_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idMemberReferrer</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_orgs_perm_id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idPremOrgsAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:member_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>memberType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublic</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:non_public_available</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>nonPublicAvailable</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:status</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoards</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganizations</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:admin_enterprise_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idEnterprisesAdmin</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:limits</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:login_types</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>loginTypes</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:marketing_opt_in</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>marketingOptIn</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:pinned_board_ids</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardsPinned</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:username</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fullName</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:initials</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:bio</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:avatar_source</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>avatarSource</span><span class='tstring_end'>&#39;</span></span>
  <span class='kw'>end</span>

  <span class='id identifier rubyid_validates_presence_of'>validates_presence_of</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='symbol'>:username</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:full_name</span><span class='comma'>,</span> <span class='label'>minimum:</span> <span class='int'>4</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:bio</span><span class='comma'>,</span>       <span class='label'>maximum:</span> <span class='int'>16384</span>

  <span class='id identifier rubyid_include'>include</span> <span class='const'><span class='object_link'><a href="HasActions.html" title="Trello::HasActions (module)">HasActions</a></span></span>

  <span class='kw'>class</span> <span class='op'>&lt;&lt;</span> <span class='kw'>self</span>
    <span class='comment'># Finds a user
</span>    <span class='comment'>#
</span>    <span class='comment'># The argument may be specified as either an _id_ or a _username_.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Retrieve a URL to the avatar.
</span>  <span class='comment'>#
</span>  <span class='comment'># Valid values for options are:
</span>  <span class='comment'>#   :large (170x170)
</span>  <span class='comment'>#   :small (30x30)
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of the boards a member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :organization, :public, :open, :closed, :all ] # default: :all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.boards(:filter =&gt; :closed) # retrieves all closed boards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:boards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of cards the member is assigned to.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :open, :closed, :all ] # default :open
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.cards(:filter =&gt; :closed) # retrieves all closed cards
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:cards</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns a list of the organizations this member is a part of.
</span>  <span class='comment'>#
</span>  <span class='comment'># This method, when called, can take a hash table with a filter key containing any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#   :filter =&gt; [ :none, :members, :public, :all ] # default: all
</span>  <span class='comment'># i.e.,
</span>  <span class='comment'>#    me.organizations(:filter =&gt; :public) # retrieves all public organizations
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of notifications for the user
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:notifications</span>

  <span class='comment'># :nodoc:
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
    <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
  </div>


  <div id="class_method_details" class="method_details_list">
    <h2>Class Method Details</h2>

    
      <div class="method_details first">
  <h3 class="signature first" id="find-class_method">
  
    .<strong>find</strong>(id_or_username, params = {})  &#x21d2; <tt>Object</tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    
<p>Finds a user</p>

<p>The argument may be specified as either an <em>id</em> or a <em>username</em>.</p>


  </div>
</div>
<div class="tags">
  

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


108
109
110</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 108</span>

<span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:member</span><span class='comma'>,</span> <span class='id identifier rubyid_id_or_username'>id_or_username</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

  <div id="instance_method_details" class="method_details_list">
    <h2>Instance Method Details</h2>

    
      <div class="method_details first">
  <h3 class="signature first" id="avatar_url-instance_method">
  
    #<strong>avatar_url</strong>(options = { size: :large })  &#x21d2; <tt>Object</tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    
<p>Retrieve a URL to the avatar.</p>

<p>Valid values for options are:</p>

<pre class="code ruby"><code class="ruby">:large (170x170)
:small (30x30)
</code></pre>


  </div>
</div>
<div class="tags">
  

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


118
119
120
121</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 118</span>

<span class='kw'>def</span> <span class='id identifier rubyid_avatar_url'>avatar_url</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span> <span class='label'>size:</span> <span class='symbol'>:large</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='id identifier rubyid_size'>size</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:size</span><span class='rbracket'>]</span> <span class='op'>==</span> <span class='symbol'>:small</span> <span class='op'>?</span> <span class='int'>30</span> <span class='op'>:</span> <span class='int'>170</span>
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>https://trello-avatars.s3.amazonaws.com/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_avatar_id'>avatar_id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>.png</span><span class='tstring_end'>&quot;</span></span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <h3 class="signature " id="request_prefix-instance_method">
  
    #<strong>request_prefix</strong>  &#x21d2; <tt>Object</tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    
<p>:nodoc:</p>


  </div>
</div>
<div class="tags">
  

</div><table class="source_code">
  <tr>
    <td>
      <pre class="lines">


154
155
156</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/member.rb', line 154</span>

<span class='kw'>def</span> <span class='id identifier rubyid_request_prefix'>request_prefix</span>
  <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

</div>

      <div id="footer">
  Generated on Tue Nov 10 16:31:55 2020 by
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
  0.9.25 (ruby-2.6.6).
</div>

    </div>
  </body>
</html>