Skip to content

Commit

Permalink
Added share/unshare support
Browse files Browse the repository at this point in the history
  • Loading branch information
filerun committed Feb 16, 2016
1 parent 123b7df commit fc77c67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Binary file modified README.md
Binary file not shown.
8 changes: 8 additions & 0 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,12 @@ public function deleteFile($params) {
$opts = ['form_params' => $params];
return $this->callAPI('/files/delete/', 'POST', $opts);
}
public function shareFolder($params) {
$opts = ['form_params' => $params];
return $this->callAPI('/files/share/', 'POST', $opts);
}
public function unShareFolder($params) {
$opts = ['form_params' => $params];
return $this->callAPI('/files/unshare/', 'POST', $opts);
}
}

0 comments on commit fc77c67

Please sign in to comment.