Sha256: a548d24ab65f64796a6bf9acac690860cfd000a594bec97c229cdcee1dfc1402
Contents?: true
Size: 379 Bytes
Versions: 2
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true module NovaposhtaApi module Resources class TrackingDocumentResource < Resource def track(number) response = request( 'TrackingDocument/getStatusDocuments', documents: [{document_number: number}] ) NovaposhtaApi::Models::TrackingDocument.extract_single(response) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
novaposhta_api-0.1.9 | lib/novaposhta_api/resources/tracking_document_resource.rb |
novaposhta_api-0.1.8 | lib/novaposhta_api/resources/tracking_document_resource.rb |