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