Method: EasyPost::Services::Batch#create_scan_form

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

#create_scan_form(id, params = {}) ⇒ Object

Create a ScanForm for a Batch.



56
57
58
59
60
# File 'lib/easypost/services/batch.rb', line 56

def create_scan_form(id, params = {})
  response = @client.make_request(:post, "batches/#{id}/scan_form", params)

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