Ruby SDK for the Unbabel REST API
Please visit our documentation page at https://developers.unbabel.com/
gem install unbabel-ruby
require 'unbabel_sdk'
username = ENV['UNBABEL_TEST_USER']
apikey = ENV['UNBABEL_API_KEY']
api = Unbabel.new(username, apikey)
api.post_translations('This is a test translation', target_language: 'pt', source_language: 'en')