Method: EasyPost::Services::CustomsItem#create

Defined in:
lib/easypost/services/customs_item.rb

#create(params) ⇒ Object

Create a CustomsItem object



7
8
9
10
11
# File 'lib/easypost/services/customs_item.rb', line 7

def create(params)
  response = @client.make_request(:post, 'customs_items', params)

  EasyPost::InternalUtilities::Json.convert_json_to_object(response, MODEL_CLASS)
end