src/Service/Ticketing.php
public function create(TicketObject $ticket) {
        $response = $this->client->post('tickets', array('ticket' => $ticket));
        return new TicketObject($response);
    }
public function create(TicketObject $ticket) {
        $response = $this->client->post('tickets', array('ticket' => $ticket));
        return new TicketObject($response);
    }
public function create ( TicketObject $ ticket ) { $ response = $ this -> client -> post ( 'tickets' , array ( 'ticket' => $ ticket ) ) ; return new TicketObject ( $ response ) ; }
Creates a ticket
@param TicketObject $ticket
@return TicketObject
@throws \OK\Model\Network\Exception\NetworkException
Creates a ticket