Class: Postmen::ShipperAccountQuery

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/postmen/query/shipper_account_query.rb

Overview

This class holds all the logic behind querying for a single ShipperAccount.

See Also:

Instance Method Summary collapse

Instance Method Details

#to_queryHash

Converts query object to hash

Returns:

  • (Hash)


13
14
15
16
17
# File 'lib/postmen/query/shipper_account_query.rb', line 13

def to_query
  {
    params: query
  }
end