Class: GrubY::InaccessibleMessage
- Inherits:
-
BaseObject
- Object
- BaseObject
- GrubY::InaccessibleMessage
- Defined in:
- lib/gruubY/types/extra.rb
Instance Attribute Summary
Attributes inherited from BaseObject
Instance Method Summary collapse
-
#initialize(data) ⇒ InaccessibleMessage
constructor
A new instance of InaccessibleMessage.
Methods inherited from BaseObject
#[], #dig, field_names, fields, #method_missing, #respond_to_missing?, #to_h
Constructor Details
#initialize(data) ⇒ InaccessibleMessage
Returns a new instance of InaccessibleMessage.
14 15 16 17 |
# File 'lib/gruubY/types/extra.rb', line 14 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