Class: GrubY::ExternalReplyInfo

Inherits:
BaseObject show all
Defined in:
lib/gruubY/types/extra.rb

Instance Attribute Summary

Attributes inherited from BaseObject

#api, #client

Instance Method Summary collapse

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