jeremytregunna/ruby-trello

View on GitHub
doc/Trello/Board.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::Board
  
    &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::Board";
  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 (B)</a> &raquo;
    <span class='title'><span class='object_link'><a href="../Trello.html" title="Trello (module)">Trello</a></span></span>
     &raquo; 
    <span class="title">Board</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::Board
  
  
  
</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::Board</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/board.rb</dd>
  </dl>
  
</div>

<h2>Overview</h2><div class="docstring">
  <div class="discussion">
    
<p>A board on Trello</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="#background_color-instance_method" title="#background_color (instance method)">#<strong>background_color</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
    
  
  
  
  
  

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

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

    
  </span>
  
  
  
    
    
  
  
  
  
  

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

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

    
  </span>
  
  
  
    
    
  
  
  
  
  

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

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

    
  </span>
  
  
  
    
    
  
  
  
  
  

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

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

    
  </span>
  
  
  
    
    
  
  
  
  
  

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

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

    
  </span>
  
  
  
    
    
  
  
  
  
  

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

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#description_data-instance_method" title="#description_data (instance method)">#<strong>description_data</strong>  &#x21d2; Datetime </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="#enable_card_covers-instance_method" title="#enable_card_covers (instance method)">#<strong>enable_card_covers</strong>  &#x21d2; Boolean </a>
    

    
  </span>
  
  
  
    
    
  
  
  
  
  

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

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#enable_self_join-instance_method" title="#enable_self_join (instance method)">#<strong>enable_self_join</strong>  &#x21d2; Boolean </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="#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="#invitation_permission_level-instance_method" title="#invitation_permission_level (instance method)">#<strong>invitation_permission_level</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
    
  
  
  
  
  

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

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#keep_cards_from_source=-instance_method" title="#keep_cards_from_source= (instance method)">#<strong>keep_cards_from_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="#last_activity_date-instance_method" title="#last_activity_date (instance method)">#<strong>last_activity_date</strong>  &#x21d2; Datetime </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="#name-instance_method" title="#name (instance method)">#<strong>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="#organization_id-instance_method" title="#organization_id (instance method)">#<strong>organization_id</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
    
  
  
  
  
  

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

    
      <li class="public ">
  <span class="summary_signature">
    
      <a href="#pinned-instance_method" title="#pinned (instance method)">#<strong>pinned</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="#power_ups=-instance_method" title="#power_ups= (instance method)">#<strong>power_ups</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="#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="#short_url-instance_method" title="#short_url (instance method)">#<strong>short_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="#source_board_id=-instance_method" title="#source_board_id= (instance method)">#<strong>source_board_id</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="#starred-instance_method" title="#starred (instance method)">#<strong>starred</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="#subscribed=-instance_method" title="#subscribed= (instance method)">#<strong>subscribed</strong>  &#x21d2; Boolean </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="#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="#use_default_labels=-instance_method" title="#use_default_labels= (instance method)">#<strong>use_default_labels</strong>  &#x21d2; Boolean </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="#use_default_lists=-instance_method" title="#use_default_lists= (instance method)">#<strong>use_default_lists</strong>  &#x21d2; Boolean </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="#visibility_level-instance_method" title="#visibility_level (instance method)">#<strong>visibility_level</strong>  &#x21d2; String </a>
    

    
  </span>
  
  
  
    
    
  
  
  
  
  

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

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

    
  </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="#all-class_method" title="all (class method)">.<strong>all</strong>  &#x21d2; Array&lt;Trello::Board&gt; </a>
    

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'>
<p>All boards for the current 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="#add_member-instance_method" title="#add_member (instance method)">#<strong>add_member</strong>(member, type = :normal)  &#x21d2; Object </a>
    

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'>
<p>Add a member to this Board.</p>
</div></span>
  
</li>

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

    
  </span>
  
  
  
  
  
  
  

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

      
        <li class="public ">
  <span class="summary_signature">
    
      <a href="#find_card-instance_method" title="#find_card (instance method)">#<strong>find_card</strong>(card_id)  &#x21d2; Trello::Card </a>
    

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'>
<p>Find a card on this Board with the given ID.</p>
</div></span>
  
</li>

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

    
  </span>
  
  
  
  
  
  
  

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

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

    
  </span>
  
  
  
  
  
  
  

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

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

    
  </span>
  
  
  
  
  
  
  

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

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

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'>
<p>Remove a member of this Board.</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>

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

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'></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#find-class_method" title="Trello::BasicData.find (method)">find</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="background_color=-instance_method"></span>
      <div class="method_details first">
  <h3 class="signature first" id="background_color-instance_method">
  
    #<strong>background_color</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="background_image=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="background_image-instance_method">
  
    #<strong>background_image</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="card_aging_type=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="card_aging_type-instance_method">
  
    #<strong>card_aging_type</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="closed=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="closed-instance_method">
  
    #<strong>closed</strong>  &#x21d2; <tt>Boolean</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>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

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


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="comment_permission_level=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="comment_permission_level-instance_method">
  
    #<strong>comment_permission_level</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="description=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="description-instance_method">
  
    #<strong>description</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="description_data-instance_method">
  
    #<strong>description_data</strong>  &#x21d2; <tt>Datetime</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>Datetime</tt>)</span>
      
      
      
    </li>
  
</ul>

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


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="enable_card_covers=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="enable_card_covers-instance_method">
  
    #<strong>enable_card_covers</strong>  &#x21d2; <tt>Boolean</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>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

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


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="enable_self_join=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="enable_self_join-instance_method">
  
    #<strong>enable_self_join</strong>  &#x21d2; <tt>Boolean</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>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

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


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="invitation_permission_level=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="invitation_permission_level-instance_method">
  
    #<strong>invitation_permission_level</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="keep_cards_from_source=-instance_method">
  
    #<strong>keep_cards_from_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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="last_activity_date-instance_method">
  
    #<strong>last_activity_date</strong>  &#x21d2; <tt>Datetime</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>Datetime</tt>)</span>
      
      
      
    </li>
  
</ul>

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


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="name=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="name-instance_method">
  
    #<strong>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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="organization_id=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="organization_id-instance_method">
  
    #<strong>organization_id</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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-instance_method">
  
    #<strong>pinned</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="power_ups=-instance_method">
  
    #<strong>power_ups=</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="short_url-instance_method">
  
    #<strong>short_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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="source_board_id=-instance_method">
  
    #<strong>source_board_id=</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="starred-instance_method">
  
    #<strong>starred</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="subscribed=-instance_method">
  
    #<strong>subscribed=</strong>(value)  &#x21d2; <tt>Boolean</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>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

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


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="use_default_labels=-instance_method">
  
    #<strong>use_default_labels=</strong>(value)  &#x21d2; <tt>Boolean</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>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

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


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="use_default_lists=-instance_method">
  
    #<strong>use_default_lists=</strong>(value)  &#x21d2; <tt>Boolean</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>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

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


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="visibility_level=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="visibility_level-instance_method">
  
    #<strong>visibility_level</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="voting_permission_level=-instance_method"></span>
      <div class="method_details ">
  <h3 class="signature " id="voting_permission_level-instance_method">
  
    #<strong>voting_permission_level</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">


61
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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 61</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Board (class)">Board</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='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='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:starred</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'>:pinned</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'>: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'>:short_url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>shortUrl</span><span class='tstring_end'>&#39;</span></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='comma'>,</span> <span class='label'>default:</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:last_activity_date</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>dateLastActivity</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>serializer:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>Time</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description_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'>descData</span><span class='tstring_end'>&#39;</span></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='comment'># Writable
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:name</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:description</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>desc</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:organization_id</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idOrganization</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:visibility_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>permissionLevel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:voting_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>voting</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:comment_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>comments</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:invitation_permission_level</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>invitations</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_self_join</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>selfJoin</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:enable_card_covers</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardCovers</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_color</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>background</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:background_image</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>backgroundImage</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:card_aging_type</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cardAging</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>class_name:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BoardPref</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for create only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_labels</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLabels</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:use_default_lists</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defaultLists</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:source_board_id</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>idBoardSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:keep_cards_from_source</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>keepFromSource</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>create_only:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>powerUps</span><span class='tstring_end'>&#39;</span></span>

    <span class='comment'># Writable but for update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:closed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:subscribed</span><span class='comma'>,</span> <span class='label'>update_only:</span> <span class='kw'>true</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'>:name</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:name</span><span class='comma'>,</span>        <span class='label'>in:</span> <span class='int'>1</span><span class='op'>..</span><span class='int'>16384</span>
  <span class='id identifier rubyid_validates_length_of'>validates_length_of</span>   <span class='symbol'>:description</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'># @return [Array&lt;Trello::Board&gt;] all boards for the current user
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
      <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
    <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
  <span class='kw'>end</span>

  <span class='comment'># @return [Boolean]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
    <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
  <span class='kw'>end</span>

  <span class='comment'># Find a card on this Board with the given ID.
</span>  <span class='comment'># @return [Trello::Card]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Add a member to this Board.
</span>  <span class='comment'>#    type =&gt; [ :admin, :normal, :observer ]
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Remove a member of this Board.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
    <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='kw'>end</span>

  <span class='comment'># Return all the cards on this board.
</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='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 all the lists on this board.
</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='id identifier rubyid_many'>many</span> <span class='symbol'>:lists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:open</span>

  <span class='comment'># Returns an array of members who are associated with this board.
</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, :normal, :owners, :admins, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:members</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a list of checklists associated with the board.
</span>  <span class='comment'>#
</span>  <span class='comment'># The options hash may have a filter key which can have its value set as any
</span>  <span class='comment'># of the following values:
</span>  <span class='comment'>#    :filter =&gt; [ :none, :all ] # default :all
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:checklists</span><span class='comma'>,</span> <span class='label'>filter:</span> <span class='symbol'>:all</span>

  <span class='comment'># Returns a reference to the organization this board belongs to.
</span>  <span class='id identifier rubyid_one'>one</span> <span class='symbol'>:organization</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='symbol'>:organizations</span><span class='comma'>,</span> <span class='label'>using:</span> <span class='symbol'>:organization_id</span>

  <span class='comment'># Returns a list of plugins associated with the board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:plugin_data</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>pluginData</span><span class='tstring_end'>&quot;</span></span>

  <span class='comment'># Returns custom fields activated on this board
</span>  <span class='id identifier rubyid_many'>many</span> <span class='symbol'>:custom_fields</span><span class='comma'>,</span> <span class='label'>path:</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>customFields</span><span class='tstring_end'>&quot;</span></span>

  <span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>    <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
    <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</span>

  <span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
    <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
    <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
  <span class='kw'>end</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'>/boards/</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="all-class_method">
  
    .<strong>all</strong>  &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span>&lt;<span class='object_link'><a href="" title="Trello::Board (class)">Trello::Board</a></span>&gt;</tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    
<p>Returns all boards for the current user.</p>


  </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="" title="Trello::Board (class)">Trello::Board</a></span>&gt;</tt>)</span>
      
      
      
        &mdash;
        <div class='inline'>
<p>all boards for the current user</p>
</div>
      
    </li>
  
</ul>

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


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

<span class='kw'>def</span> <span class='id identifier rubyid_all'>all</span>
  <span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='const'><span class='object_link'><a href="Member.html" title="Trello::Member (class)">Member</a></span></span><span class='period'>.</span><span class='id identifier rubyid_find'><span class='object_link'><a href="Member.html#find-class_method" title="Trello::Member.find (method)">find</a></span></span><span class='lparen'>(</span><span class='symbol'>:me</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_username'>username</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards</span><span class='tstring_end'>&quot;</span></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="add_member-instance_method">
  
    #<strong>add_member</strong>(member, type = :normal)  &#x21d2; <tt>Object</tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    
<p>Add a member to this Board.</p>

<pre class="code ruby"><code class="ruby">type =&gt; [ :admin, :normal, :observer ]
</code></pre>


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

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


137
138
139</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 137</span>

<span class='kw'>def</span> <span class='id identifier rubyid_add_member'>add_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='comma'>,</span> <span class='id identifier rubyid_type'>type</span> <span class='op'>=</span> <span class='symbol'>:normal</span><span class='rparen'>)</span>
  <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='lbrace'>{</span> <span class='label'>type:</span> <span class='id identifier rubyid_type'>type</span> <span class='rbrace'>}</span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <h3 class="signature " id="closed?-instance_method">
  
    #<strong>closed?</strong>  &#x21d2; <tt>Boolean</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>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

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


115
116
117</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 115</span>

<span class='kw'>def</span> <span class='id identifier rubyid_closed?'>closed?</span>
  <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:closed</span><span class='rbracket'>]</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <h3 class="signature " id="find_card-instance_method">
  
    #<strong>find_card</strong>(card_id)  &#x21d2; <tt><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Trello::Card</a></span></tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    
<p>Find a card on this Board with the given ID.</p>


  </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="Card.html" title="Trello::Card (class)">Trello::Card</a></span></tt>)</span>
      
      
      
    </li>
  
</ul>

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


131
132
133</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 131</span>

<span class='kw'>def</span> <span class='id identifier rubyid_find_card'>find_card</span><span class='lparen'>(</span><span class='id identifier rubyid_card_id'>card_id</span><span class='rparen'>)</span>
  <span class='const'><span class='object_link'><a href="Card.html" title="Trello::Card (class)">Card</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/cards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_card_id'>card_id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <h3 class="signature " id="has_lists?-instance_method">
  
    #<strong>has_lists?</strong>  &#x21d2; <tt>Boolean</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>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

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


125
126
127</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 125</span>

<span class='kw'>def</span> <span class='id identifier rubyid_has_lists?'>has_lists?</span>
  <span class='id identifier rubyid_lists'>lists</span><span class='period'>.</span><span class='id identifier rubyid_size'>size</span> <span class='op'>&gt;</span> <span class='int'>0</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <h3 class="signature " id="label_names-instance_method">
  
    #<strong>label_names</strong>  &#x21d2; <tt>Object</tt> 
  

  

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


190
191
192
193</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 190</span>

<span class='kw'>def</span> <span class='id identifier rubyid_label_names'>label_names</span>
  <span class='id identifier rubyid_label_names'>label_names</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="LabelName.html" title="Trello::LabelName (class)">LabelName</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labelnames</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
  <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_label_names'>label_names</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <h3 class="signature " id="labels-instance_method">
  
    #<strong>labels</strong>(params = {})  &#x21d2; <tt>Object</tt> 
  

  

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


183
184
185
186
187
188</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 183</span>

<span class='kw'>def</span> <span class='id identifier rubyid_labels'>labels</span><span class='lparen'>(</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='comment'># Set the limit to as high as possible given there is no pagination in this API.
</span>  <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='int'>1000</span> <span class='kw'>unless</span> <span class='id identifier rubyid_params'>params</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span>
  <span class='id identifier rubyid_labels'>labels</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Label.html" title="Trello::Label (class)">Label</a></span></span><span class='period'>.</span><span class='id identifier rubyid_from_response'>from_response</span> <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/labels</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
  <span class='const'><span class='object_link'><a href="MultiAssociation.html" title="Trello::MultiAssociation (class)">MultiAssociation</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="MultiAssociation.html#initialize-instance_method" title="Trello::MultiAssociation#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_labels'>labels</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_proxy'><span class='object_link'><a href="Association.html#proxy-instance_method" title="Trello::Association#proxy (method)">proxy</a></span></span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      <div class="method_details ">
  <h3 class="signature " id="remove_member-instance_method">
  
    #<strong>remove_member</strong>(member)  &#x21d2; <tt>Object</tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    
<p>Remove a member of this Board.</p>


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

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


142
143
144</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 142</span>

<span class='kw'>def</span> <span class='id identifier rubyid_remove_member'>remove_member</span><span class='lparen'>(</span><span class='id identifier rubyid_member'>member</span><span class='rparen'>)</span>
  <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>/boards/</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_member'>member</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</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">


196
197
198</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/board.rb', line 196</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'>/boards/</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 class="method_details ">
  <h3 class="signature " id="starred?-instance_method">
  
    #<strong>starred?</strong>  &#x21d2; <tt>Boolean</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>Boolean</tt>)</span>
      
      
      
    </li>
  
</ul>

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


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

<span class='kw'>def</span> <span class='id identifier rubyid_starred?'>starred?</span>
  <span class='id identifier rubyid_attributes'>attributes</span><span class='lbracket'>[</span><span class='symbol'>:starred</span><span class='rbracket'>]</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

</div>

      <div id="footer">
  Generated on Tue Nov 10 16:31:52 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>