Sha256: a436eaf1b9e2742d81574f88edbb76472a96fb895f149ed1e389884c8ff64092
Contents?: true
Size: 406 Bytes
Versions: 6
Compression:
Stored size: 406 Bytes
Contents
# frozen_string_literal: true class EasyPost::Services::CustomsItem < EasyPost::Services::Service MODEL_CLASS = EasyPost::Models::CustomsItem # Create a CustomsItem object def create(params) @client.make_request(:post, 'customs_items', MODEL_CLASS, params) end # Retrieve a CustomsItem object def retrieve(id) @client.make_request(:get, "customs_items/#{id}", MODEL_CLASS) end end
Version data entries
6 entries across 6 versions & 1 rubygems