Class: Postmen::ShipperAccountUpdateQuery
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Postmen::ShipperAccountUpdateQuery
- Defined in:
- lib/postmen/query/shipper_account_update_query.rb
Overview
This class holds all the logic behind updating a ShipperAccount details
Instance Method Summary collapse
-
#to_query ⇒ Hash
Converts query object to hash.
Instance Method Details
#to_query ⇒ Hash
Converts query object to hash
14 15 16 17 18 |
# File 'lib/postmen/query/shipper_account_update_query.rb', line 14 def to_query { json: query } end |