Class: Telegem::Types::PreCheckoutQuery
- Defined in:
- lib/api/types.rb
Instance Attribute Summary
Attributes inherited from BaseType
Instance Method Summary collapse
-
#initialize(data) ⇒ PreCheckoutQuery
constructor
A new instance of PreCheckoutQuery.
Methods inherited from BaseType
#inspect, #method_missing, #respond_to_missing?, #to_h, #to_s
Constructor Details
#initialize(data) ⇒ PreCheckoutQuery
Returns a new instance of PreCheckoutQuery.
523 524 525 526 527 528 |
# File 'lib/api/types.rb', line 523 def initialize(data) super(data) wrap('from', User) wrap('shipping_address', ShippingAddress) wrap('order_info', OrderInfo) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Telegem::Types::BaseType