public function create($owner, $repo, $content, $encoding = 'utf-8')
	{
		// Build the request path.
		$path = '/repos/' . $owner . '/' . $repo . '/git/blobs';

		$data = array(
			'content'  => $content,
			'encoding' => $encoding
		);

		return $this->processResponse(
			$this->client->post($this->fetchUrl($path), json_encode($data)),
			201
		);
	}
public function create($owner, $repo, $content, $encoding = 'utf-8')
	{
		// Build the request path.
		$path = '/repos/' . $owner . '/' . $repo . '/git/blobs';

		$data = array(
			'content'  => $content,
			'encoding' => $encoding
		);

		return $this->processResponse(
			$this->client->post($this->fetchUrl($path), json_encode($data)),
			201
		);
	}
public function create ( $ owner , $ repo , $ content , $ encoding = 'utf-8' ) { // Build the request path. $ path = '/repos/' . $ owner . '/' . $ repo . '/git/blobs' ; $ data = array ( 'content' => $ content , 'encoding' => $ encoding ) ; return $ this -> processResponse ( $ this -> client -> post ( $ this -> fetchUrl ( $ path ) , json_encode ( $ data ) ) , 201 ) ; }
Create a Blob.

@param   string  $owner     Repository owner.
@param   string  $repo      Repository name.
@param   string  $content   The content of the blob.
@param   string  $encoding  The encoding to use.

@return  object

@since   1.0
Create a Blob .