jeremytregunna/ruby-trello

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

<h2>Overview</h2><div class="docstring">
  <div class="discussion">
    
<p>Organizations are useful for linking members together.</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="#desc_data-instance_method" title="#desc_data (instance method)">#<strong>desc_data</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="#description-instance_method" title="#description (instance method)">#<strong>description</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="#display_name-instance_method" title="#display_name (instance method)">#<strong>display_name</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="#enable_add_external_members=-instance_method" title="#enable_add_external_members= (instance method)">#<strong>enable_add_external_members</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="#google_app_domain=-instance_method" title="#google_app_domain= (instance method)">#<strong>google_app_domain</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="#google_app_version=-instance_method" title="#google_app_version= (instance method)">#<strong>google_app_version</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="#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="#logo_hash-instance_method" title="#logo_hash (instance method)">#<strong>logo_hash</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="#logo_url-instance_method" title="#logo_url (instance method)">#<strong>logo_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="#name-instance_method" title="#name (instance method)">#<strong>name</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="#organization_visible_board_creation_permission_level=-instance_method" title="#organization_visible_board_creation_permission_level= (instance method)">#<strong>organization_visible_board_creation_permission_level</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="#power_ups-instance_method" title="#power_ups (instance method)">#<strong>power_ups</strong>  &#x21d2; Array </a>
    

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

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

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

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

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

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

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

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

    
  </ul>



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


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

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

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'>
<p>Find an organization by its id.</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="#boards-instance_method" title="#boards (instance method)">#<strong>boards</strong>  &#x21d2; Object </a>
    

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'>
<p>Returns a list of boards under this organization.</p>
</div></span>
  
</li>

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

    
  </span>
  
  
  
  
  
  
  

  
    <span class="summary_desc"><div class='inline'>
<p>Returns an array of members associated with the organization.</p>
</div></span>
  
</li>

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

    
  </span>
  
  
  
  
  
  
  

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

      
    </ul>
  


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

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

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

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

  <div id="instance_attr_details" class="attr_details">
    <h2>Instance Attribute Details</h2>
    
      
      <span id=""></span>
      <div class="method_details first">
  <h3 class="signature first" id="desc_data-instance_method">
  
    #<strong>desc_data</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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-instance_method">
  
    #<strong>description</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="display_name-instance_method">
  
    #<strong>display_name</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="enable_add_external_members=-instance_method">
  
    #<strong>enable_add_external_members=</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="google_app_domain=-instance_method">
  
    #<strong>google_app_domain=</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="google_app_version=-instance_method">
  
    #<strong>google_app_version=</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="logo_hash-instance_method">
  
    #<strong>logo_hash</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="logo_url-instance_method">
  
    #<strong>logo_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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="name-instance_method">
  
    #<strong>name</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
      
      <span id=""></span>
      <div class="method_details ">
  <h3 class="signature " id="organization_visible_board_creation_permission_level=-instance_method">
  
    #<strong>organization_visible_board_creation_permission_level=</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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>  &#x21d2; <tt><span class='object_link'><a href="../Array.html" title="Array (class)">Array</a></span></tt>  <span class="extras">(readonly)</span>
  

  

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

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

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


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="private_board_creation_permission_level=-instance_method">
  
    #<strong>private_board_creation_permission_level=</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="public_board_creation_permission_level=-instance_method">
  
    #<strong>public_board_creation_permission_level=</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="team_type-instance_method">
  
    #<strong>team_type</strong>  &#x21d2; <tt><span class='object_link'><a href="../String.html" title="String (class)">String</a></span></tt>  <span class="extras">(readonly)</span>
  

  

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

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

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


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="visibility_level=-instance_method">
  
    #<strong>visibility_level=</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</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="website-instance_method">
  
    #<strong>website</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">


40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 40</span>

<span class='kw'>class</span> <span class='const'><span class='object_link'><a href="" title="Trello::Organization (class)">Organization</a></span></span> <span class='op'>&lt;</span> <span class='const'><span class='object_link'><a href="BasicData.html" title="Trello::BasicData (class)">BasicData</a></span></span>
  <span class='id identifier rubyid_schema'>schema</span> <span class='kw'>do</span>
    <span class='comment'># Readonly
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:id</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>primary_key:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:team_type</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>teamType</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:url</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:desc_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'>:logo_hash</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>logoHash</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:logo_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'>logoUrl</span><span class='tstring_end'>&#39;</span></span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:products</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</span>
    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:power_ups</span><span class='comma'>,</span> <span class='label'>readonly:</span> <span class='kw'>true</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
</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'>:display_name</span><span class='comma'>,</span> <span class='label'>remote_key:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>displayName</span><span class='tstring_end'>&#39;</span></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'>:website</span>

    <span class='comment'># Writable but update only
</span>    <span class='id identifier rubyid_attribute'>attribute</span> <span class='symbol'>:google_app_domain</span><span class='comma'>,</span> <span class='label'>update_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'>associatedDomain</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'>:google_app_version</span><span class='comma'>,</span> <span class='label'>update_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'>googleAppsVersion </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_add_external_members</span><span class='comma'>,</span> <span class='label'>update_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'>externalMembersDisabled</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'>:private_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/private</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'>:organization_visible_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/org</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'>:public_board_creation_permission_level</span><span class='comma'>,</span> <span class='label'>update_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'>boardVisibilityRestrict/public</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'>:visibility_level</span><span class='comma'>,</span> <span class='label'>update_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'>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='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_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'># Find an organization by its id.
</span>    <span class='kw'>def</span> <span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
      <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='symbol'>:organization</span><span class='comma'>,</span> <span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_params'>params</span><span class='rparen'>)</span>
    <span class='kw'>end</span>
  <span class='kw'>end</span>

  <span class='comment'># Returns a list of boards under this organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
    <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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'># Returns an array of members associated with the organization.
</span>  <span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
  <span class='kw'>end</span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
  </div>


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

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

  

  
</h3><div class="docstring">
  <div class="discussion">
    
<p>Find an organization by its id.</p>


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

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


74
75
76</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 74</span>

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

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

    
      <div class="method_details first">
  <h3 class="signature first" id="boards-instance_method">
  
    #<strong>boards</strong>  &#x21d2; <tt>Object</tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    
<p>Returns a list of boards under this organization.</p>


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

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


80
81
82
83</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 80</span>

<span class='kw'>def</span> <span class='id identifier rubyid_boards'>boards</span>
  <span class='id identifier rubyid_boards'>boards</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="Board.html" title="Trello::Board (class)">Board</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/boards/all</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_boards'>boards</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="members-instance_method">
  
    #<strong>members</strong>(params = {})  &#x21d2; <tt>Object</tt> 
  

  

  
</h3><div class="docstring">
  <div class="discussion">
    
<p>Returns an array of members associated with the organization.</p>


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

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


86
87
88
89</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 86</span>

<span class='kw'>def</span> <span class='id identifier rubyid_members'>members</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='id identifier rubyid_members'>members</span> <span class='op'>=</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_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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_content'>/members/all</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_members'>members</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="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">


92
93
94</pre>
    </td>
    <td>
      <pre class="code"><span class="info file"># File 'lib/trello/organization.rb', line 92</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'>/organizations/</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_id'>id</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
<span class='kw'>end</span></pre>
    </td>
  </tr>
</table>
</div>
    
  </div>

</div>

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