<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Class: Discorb::Gateway::WebhooksUpdateEvent — 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::Gateway::WebhooksUpdateEvent"; 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 (W)</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="../Gateway.html" title="Discorb::Gateway (module)">Gateway</a></span></span> » <span class="title">WebhooksUpdateEvent</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::Gateway::WebhooksUpdateEvent </h1> <div class="box_info"> <dl> <dt>Inherits:</dt> <dd> <span class="inheritName"><span class='object_link'><a href="GatewayEvent.html" title="Discorb::Gateway::GatewayEvent (class)">GatewayEvent</a></span></span> <ul class="fullTree"> <li>Object</li> <li class="next"><span class='object_link'><a href="GatewayEvent.html" title="Discorb::Gateway::GatewayEvent (class)">GatewayEvent</a></span></li> <li class="next">Discorb::Gateway::WebhooksUpdateEvent</li> </ul> <a href="#" class="inheritanceTree">show all</a> </dd> </dl> <dl> <dt>Defined in:</dt> <dd>lib/discorb/gateway.rb</dd> </dl> </div> <h2>Overview</h2><div class="docstring"> <div class="discussion"> <p>Represents a <code>WEBHOOKS_UPDATE</code> event.</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="#channel-instance_method" title="#channel (instance method)">#<strong>channel</strong> ⇒ nil, Discorb::Channel </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="#guild-instance_method" title="#guild (instance method)">#<strong>guild</strong> ⇒ nil, Discorb::Guild </a> </span> <span class="note title readonly">readonly</span> <span class="summary_desc"><div class='inline'></div></span> </li> </ul> <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="channel-instance_method"> #<strong>channel</strong> ⇒ <tt>nil</tt>, <tt><span class='object_link'><a href="../Channel.html" title="Discorb::Channel (class)">Discorb::Channel</a></span></tt> <span class="extras">(readonly)</span> </h3><div class="docstring"> <div class="discussion"> <div class="note notetag"> <strong>Note:</strong> <div class='inline'><p>This method returns an object from client cache. it will return <code>nil</code> if the object is not in cache.</p> </div> </div> </div> </div> <div class="tags"> <p class="tag_title">Returns:</p> <ul class="return"> <li> <span class='type'>(<tt>nil</tt>)</span> — <div class='inline'><p>The object wasn't cached.</p> </div> </li> <li> <span class='type'>(<tt><span class='object_link'><a href="../Channel.html" title="Discorb::Channel (class)">Discorb::Channel</a></span></tt>)</span> — <div class='inline'><p>The channel where the webhook was updated.</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> </pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/discorb/gateway.rb', line 430</span> </pre> </td> </tr> </table> </div> <span id=""></span> <div class="method_details "> <h3 class="signature " id="guild-instance_method"> #<strong>guild</strong> ⇒ <tt>nil</tt>, <tt><span class='object_link'><a href="../Guild.html" title="Discorb::Guild (class)">Discorb::Guild</a></span></tt> <span class="extras">(readonly)</span> </h3><div class="docstring"> <div class="discussion"> <div class="note notetag"> <strong>Note:</strong> <div class='inline'><p>This method returns an object from client cache. it will return <code>nil</code> if the object is not in cache.</p> </div> </div> </div> </div> <div class="tags"> <p class="tag_title">Returns:</p> <ul class="return"> <li> <span class='type'>(<tt>nil</tt>)</span> — <div class='inline'><p>The object wasn't cached.</p> </div> </li> <li> <span class='type'>(<tt><span class='object_link'><a href="../Guild.html" title="Discorb::Guild (class)">Discorb::Guild</a></span></tt>)</span> — <div class='inline'><p>The guild where the webhook was updated.</p> </div> </li> </ul> </div><table class="source_code"> <tr> <td> <pre class="lines"> </pre> </td> <td> <pre class="code"><span class="info file"># File 'lib/discorb/gateway.rb', line 430</span> </pre> </td> </tr> </table> </div> </div> </div> <div id="footer"> Generated from <a href="https://github.com/discorb-lib/discorb/tree/f0bb4cccd9f929204a9bcbb077ea50b606dabd87"><code>f0bb4cccd9f929204a9bcbb077ea50b606dabd87</code></a>, version v0.1.0, with YARD 0.9.26. </div> </div> </body> </html>