seregazhuk\PinterestBot\Api\Providers\Pins::moveToBoard PHP Метод

moveToBoard() публичный Метод

Moves pin to a new board
public moveToBoard ( integer $pindId, integer $boardId ) : boolean
$pindId integer
$boardId integer
Результат boolean
    public function moveToBoard($pindId, $boardId)
    {
        return $this->edit($pindId, '', '', $boardId);
    }

Usage Example

Пример #1
0
 /** @test */
 public function it_should_move_pins_between_boards()
 {
     $this->apiShouldReturnSuccess()->assertTrue($this->provider->moveToBoard(1111, 1));
     $this->apiShouldReturnError()->assertFalse($this->provider->moveToBoard(1111, 1));
 }