Skip to content
This repository has been archived by the owner on May 30, 2020. It is now read-only.

Commit

Permalink
#2 add mileage
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisleker committed Feb 11, 2020
1 parent 167d509 commit 22b3be1
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Valsplat/Simplicate/Entities/Mileage.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace Valsplat\Simplicate\Entities;

use Valsplat\Simplicate\Actions;
use Valsplat\Simplicate\Entity;

class Mileage extends Entity
{
use Actions\Getable;
use Actions\Listable;
use Actions\Storable;
//use Actions\Deletable;

protected $fillable = [
];

protected $endpoint = 'mileage/mileage/';
// protected $namespace = '';
}
5 changes: 5 additions & 0 deletions src/Valsplat/Simplicate/Simplicate.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ public function leave($attributes = [])
return new Entities\Leave($this->connection, $attributes);
}

public function mileage($attributes = [])
{
return new Entities\Mileage($this->connection, $attributes);
}

public function myorganizationprofile($attributes = [])
{
return new Entities\MyOrganizationProfile($this->connection, $attributes);
Expand Down

0 comments on commit 22b3be1

Please sign in to comment.