Class: GrubY::ShippingQuery
- Inherits:
-
BaseObject
- Object
- BaseObject
- GrubY::ShippingQuery
- Defined in:
- lib/gruubY/types/bound_entities.rb
Instance Attribute Summary
Attributes inherited from BaseObject
Instance Method Summary collapse
Methods inherited from BaseObject
#[], #dig, field_names, fields, #initialize, #method_missing, #respond_to_missing?, #to_h
Constructor Details
This class inherits a constructor from GrubY::BaseObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class GrubY::BaseObject
Instance Method Details
#answer(ok:, shipping_options: nil, error_message: nil) ⇒ Object
58 59 60 61 62 63 64 65 |
# File 'lib/gruubY/types/bound_entities.rb', line 58 def answer(ok:, shipping_options: nil, error_message: nil) call_api("answerShippingQuery", { shipping_query_id: id, ok: ok, shipping_options: , error_message: }.compact) end |