public function buildApplication($applicationId, $platforms = array())
    {
        $options = array();
        if (! empty($platforms)) {
            if (! is_array($platforms)) {
                $platforms = array($platforms);
            }
            $options['platforms'] = $platforms;
        }

        return $this->request(array('apps', $applicationId, 'build'), 'post', $options);
    }