@@ 111-119 (lines=9) @@ | ||
108 | * @param string $boardId |
|
109 | * @return bool |
|
110 | */ |
|
111 | public function ignoreInvite($boardId) |
|
112 | { |
|
113 | $data = [ |
|
114 | 'board_id' => $boardId, |
|
115 | 'invited_user_id' => $this->container->user->id(), |
|
116 | ]; |
|
117 | ||
118 | return $this->post($data, UrlBuilder::RESOURCE_DELETE_INVITE); |
|
119 | } |
|
120 | ||
121 | /** |
|
122 | * @param string $boardId |
|
@@ 125-133 (lines=9) @@ | ||
122 | * @param string $boardId |
|
123 | * @return bool |
|
124 | */ |
|
125 | public function acceptInvite($boardId) |
|
126 | { |
|
127 | $data = [ |
|
128 | 'board_id' => $boardId, |
|
129 | 'invited_user_id' => $this->container->user->id(), |
|
130 | ]; |
|
131 | ||
132 | return $this->post($data, UrlBuilder::RESOURCE_ACCEPT_INVITE); |
|
133 | } |
|
134 | } |