Skip to content

Commit

Permalink
Merge pull request #14 from realifetech/feature/BE-203-canvas---be-im…
Browse files Browse the repository at this point in the history
…plement-audience-fi

BE-203 add new paths
  • Loading branch information
tomrutherford-livestyled authored Jan 11, 2021
2 parents a3c5be4 + 473662a commit 10b08b0
Show file tree
Hide file tree
Showing 6 changed files with 86 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/ContentManagement/NewsClient.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php


namespace LiveStyled\ContentManagement;

use LiveStyled\Client;
use LiveStyled\CrudClient;

class NewsClient extends Client implements CrudClient
{
protected function getPath()
{
return '/v4/content_management/news';
}
}
14 changes: 14 additions & 0 deletions src/EventManagement/EventClient.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace LiveStyled\EventManagement;

use LiveStyled\Client;
use LiveStyled\CrudClient;

class EventClient extends Client implements CrudClient
{
protected function getPath()
{
return '/v4/event_management/events';
}
}
14 changes: 14 additions & 0 deletions src/Sell/FulfilmentPointCategoryClient.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace LiveStyled\Sell;

use LiveStyled\Client;
use LiveStyled\CrudClient;

class FulfilmentPointCategoryClient extends Client implements CrudClient
{
protected function getPath()
{
return '/v4/sell/fulfilment_point_categories';
}
}
14 changes: 14 additions & 0 deletions src/Sell/FulfilmentPointClient.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace LiveStyled\Sell;

use LiveStyled\Client;
use LiveStyled\CrudClient;

class FulfilmentPointClient extends Client implements CrudClient
{
protected function getPath()
{
return '/v4/sell/fulfilment_points';
}
}
14 changes: 14 additions & 0 deletions src/Sell/ProductClient.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

namespace LiveStyled\Sell;

use LiveStyled\Client;
use LiveStyled\CrudClient;

class ProductClient extends Client implements CrudClient
{
protected function getPath()
{
return '/v4/sell/products';
}
}
15 changes: 15 additions & 0 deletions src/UserManagement/AudienceDeviceClient.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php


namespace LiveStyled\UserManagement;

use LiveStyled\Client;
use LiveStyled\CrudClient;

class AudienceDeviceClient extends Client implements CrudClient
{
protected function getPath()
{
return '/v4/user_management/audience_devices';
}
}

0 comments on commit 10b08b0

Please sign in to comment.