Uploading multipart form from Ruby

To automate the process of building the application, I had to download the push certificate through Fastlane and send it and the JWT-Token to the server. Below is an example of sending a multipart form from Ruby to the server (with HTTPS).

  1. Install multipart-post:
  2. Ruby script example: