Class: Postmen::ManifestQuery
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Postmen::ManifestQuery
- Defined in:
- lib/postmen/query/manifest_query.rb
Overview
This class holds all the logic behind querying for a single Manifest.
Constant Summary collapse
- DATE_FORMAT =
Expected format for dates example value: 2017-02-08T10:17:04+01:00
'%FT%T%:z'.freeze
Instance Method Summary collapse
-
#to_query ⇒ Hash
Converts query object to hash.
Instance Method Details
#to_query ⇒ Hash
Converts query object to hash
27 28 29 30 31 |
# File 'lib/postmen/query/manifest_query.rb', line 27 def to_query { params: query } end |