Skip to content

Commit

Permalink
Add internship type
Browse files Browse the repository at this point in the history
  • Loading branch information
Yinci committed May 14, 2024
1 parent 86fa1f3 commit 888e6cb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Hotelprofessionals.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use WeDesignIt\HotelprofessionalsApiClient\Resources\EmploymentType;
use WeDesignIt\HotelprofessionalsApiClient\Resources\Experience;
use WeDesignIt\HotelprofessionalsApiClient\Resources\FunctionFeature;
use WeDesignIt\HotelprofessionalsApiClient\Resources\InternshipType;
use WeDesignIt\HotelprofessionalsApiClient\Resources\JobListing;
use WeDesignIt\HotelprofessionalsApiClient\Resources\Language;
use WeDesignIt\HotelprofessionalsApiClient\Resources\Occupation;
Expand Down Expand Up @@ -85,4 +86,9 @@ public function functionFeature(): FunctionFeature
{
return new FunctionFeature($this->client, 'function-features');
}

public function internshipType(): InternshipType
{
return new InternshipType($this->client, 'internship-types');
}
}
10 changes: 10 additions & 0 deletions src/Resources/InternshipType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace WeDesignIt\HotelprofessionalsApiClient\Resources;

use WeDesignIt\HotelprofessionalsApiClient\Traits\ViewResource;

class InternshipType extends Resource
{
use ViewResource;
}

0 comments on commit 888e6cb

Please sign in to comment.