Class: GrubY::MessageOriginChannel
- Inherits:
-
MessageOrigin
- Object
- BaseObject
- MessageOrigin
- GrubY::MessageOriginChannel
- Defined in:
- lib/gruubY/types/extra.rb
Instance Attribute Summary
Attributes inherited from BaseObject
Instance Method Summary collapse
-
#initialize(data) ⇒ MessageOriginChannel
constructor
A new instance of MessageOriginChannel.
Methods inherited from BaseObject
#[], #dig, field_names, fields, #method_missing, #respond_to_missing?, #to_h
Constructor Details
#initialize(data) ⇒ MessageOriginChannel
Returns a new instance of MessageOriginChannel.
88 89 90 91 |
# File 'lib/gruubY/types/extra.rb', line 88 def initialize(data) super(data) @chat = Chat.new(@chat) if @chat.is_a?(Hash) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GrubY::BaseObject