<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Class: Discorb::User::Flag — Documentation by YARD 0.9.26 </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 = "Discorb::User::Flag"; 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="../../a_index.html">Index (F)</a> » <span class='title'><span class='object_link'><a href="../../Discorb.html" title="Discorb (module)">Discorb</a></span></span> » <span class='title'><span class='object_link'><a href="../User.html" title="Discorb::User (class)">User</a></span></span> » <span class="title">Flag</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: Discorb::User::Flag </h1> <div class="box_info"> <dl> <dt>Inherits:</dt> <dd> <span class="inheritName"><span class='object_link'><a href="../Flag.html" title="Discorb::Flag (class)">Flag</a></span></span> <ul class="fullTree"> <li>Object</li> <li class="next"><span class='object_link'><a href="../Flag.html" title="Discorb::Flag (class)">Flag</a></span></li> <li class="next">Discorb::User::Flag</li> </ul> <a href="#" class="inheritanceTree">show all</a> </dd> </dl> <dl> <dt>Defined in:</dt> <dd>lib/discorb/user.rb</dd> </dl> </div> <h2>Overview</h2><div class="docstring"> <div class="discussion"> <p>Represents the user's flags.</p> <h2 id="flag-fields">Flag fields</h2> <p>|<code>1 << 0</code>|<code>:discord_employee</code>| |<code>1 << 1</code>|<code>:partnered_server_owner</code>| |<code>1 << 2</code>|<code>:hypesquad_events</code>| |<code>1 << 3</code>|<code>:bug_hunter_level_1</code>| |<code>1 << 6</code>|<code>:house_bravery</code>| |<code>1 << 7</code>|<code>:house_brilliance</code>| |<code>1 << 8</code>|<code>:house_balance</code>| |<code>1 << 9</code>|<code>:early_supporter</code>| |<code>1 << 10</code>|<code>:team_user</code>| |<code>1 << 14</code>|<code>:bug_hunter_level_2</code>| |<code>1 << 16</code>|<code>:verified_bot</code>| |<code>1 << 17</code>|<code>:early_verified_bot_developer</code>| |<code>1 << 18</code>|<code>:discord_certified_moderator</code>|</p> </div> </div> <div class="tags"> </div> <h2>Instance Attribute Summary</h2> <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Flag.html" title="Discorb::Flag (class)">Flag</a></span></h3> <p class="inherited"><span class='object_link'><a href="../Flag.html#value-instance_method" title="Discorb::Flag#value (method)">#value</a></span>, <span class='object_link'><a href="../Flag.html#values-instance_method" title="Discorb::Flag#values (method)">#values</a></span></p> <h2>Method Summary</h2> <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Flag.html" title="Discorb::Flag (class)">Flag</a></span></h3> <p class="inherited"><span class='object_link'><a href="../Flag.html#&-instance_method" title="Discorb::Flag#& (method)">#&</a></span>, <span class='object_link'><a href="../Flag.html#--instance_method" title="Discorb::Flag#- (method)">#-</a></span>, <span class='object_link'><a href="../Flag.html#%5E-instance_method" title="Discorb::Flag#^ (method)">#^</a></span>, <span class='object_link'><a href="../Flag.html#initialize-instance_method" title="Discorb::Flag#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Flag.html#max_value-class_method" title="Discorb::Flag.max_value (method)">max_value</a></span>, <span class='object_link'><a href="../Flag.html#method_missing-instance_method" title="Discorb::Flag#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="../Flag.html#respond_to_missing%3F-instance_method" title="Discorb::Flag#respond_to_missing? (method)">#respond_to_missing?</a></span>, <span class='object_link'><a href="../Flag.html#%7C-instance_method" title="Discorb::Flag#| (method)">#|</a></span>, <span class='object_link'><a href="../Flag.html#~@-instance_method" title="Discorb::Flag#~@ (method)">#~@</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="../Flag.html#initialize-instance_method" title="Discorb::Flag#initialize (method)">Discorb::Flag</a></span></p> </div> <div id="method_missing_details" class="method_details_list"> <h2>Dynamic Method Handling</h2> <p class="notice super"> This class handles dynamic methods through the <tt>method_missing</tt> method in the class <span class='object_link'><a href="../Flag.html#method_missing-instance_method" title="Discorb::Flag#method_missing (method)">Discorb::Flag</a></span> </p> </div> </div> <div id="footer"> Generated from <a href="https://github.com/discorb-lib/discorb/tree/5bbfb4d90cb927c27f3e9c25b29d739224986cd6"><code>5bbfb4d90cb927c27f3e9c25b29d739224986cd6</code></a>, version (main), with YARD 0.9.26. </div> </div> </body> </html>