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