public function create()
    {
        $params = array(
            'slug' => $this->ensureParameter('slug'),
            'name' => $this->ensureParameter('name'),
            'i18n_type' => $this->ensureParameter('i18nType'),
            'content' => $this->ensureParameter('content'),
        );

        $this->post(
            sprintf('project/%s/resources/', $this->ensureParameter('project')),
            $params
        );

        return $this;
    }
public function create()
    {
        $params = array(
            'slug' => $this->ensureParameter('slug'),
            'name' => $this->ensureParameter('name'),
            'i18n_type' => $this->ensureParameter('i18nType'),
            'content' => $this->ensureParameter('content'),
        );

        $this->post(
            sprintf('project/%s/resources/', $this->ensureParameter('project')),
            $params
        );

        return $this;
    }
public function create ( ) { $ params = array ( 'slug' => $ this -> ensureParameter ( 'slug' ) , 'name' => $ this -> ensureParameter ( 'name' ) , 'i18n_type' => $ this -> ensureParameter ( 'i18nType' ) , 'content' => $ this -> ensureParameter ( 'content' ) , ) ; $ this -> post ( sprintf ( 'project/%s/resources/' , $ this -> ensureParameter ( 'project' ) ) , $ params ) ; return $ this ; }
Create the resource on transifex.

@return \CyberSpectrum\Transifex\TranslationResource
Create the resource on transifex .