Skip to content

Commit

Permalink
The send method needs to be public
Browse files Browse the repository at this point in the history
  • Loading branch information
maknz committed May 5, 2014
1 parent 04b42a2 commit 589acf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Maknz/Slack/SlackClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private function getEndpoint() {
* @param string $username An optional non-default username
* @return void
*/
private function send($message, $channel = null, $username = null) {
public function send($message, $channel = null, $username = null) {

$payload = json_encode([
'text' => $message,
Expand Down

0 comments on commit 589acf9

Please sign in to comment.