bundle install
Open apple.rb
and change Client Options
def self.new_client
client = Client.new
client.key_content = '-----BEGIN PRIVATE KEY-----\nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n-----END PRIVATE KEY-----\n'
client.team_id = 'XXX'
client.key_id = 'XXX'
client.client_id = 'XXX'
client
end
def self.old_client
client = Client.new
client.key_content = '-----BEGIN PRIVATE KEY-----\nXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n-----END PRIVATE KEY-----\n'
client.team_id = 'XXX'
client.key_id = 'XXX'
client.client_id = 'XXX'
client
end
Open apple.rb
and change the Sub
migration.sub = 'XXX'
ruby ./lib/apple.rb