Using rest_client gem instead of rest-client to remove mime-types gem dependency.