Skip to content

Commit

Permalink
Documents new location resource method. Adds forgotten reference to m…
Browse files Browse the repository at this point in the history
…ethod on interface
  • Loading branch information
coconutcraig committed Aug 19, 2019
1 parent 7235039 commit cd2b0f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,10 @@ Send the API request using the pre-set filters.

Set a filter which will tell the API to return locations that are specifically invite only.

- `located(details: LocatableLocationParameters)`

Set certain filters which will tell the API to return locations that match the locatable details you provide.

- `on(page: number)`

Set the page offset which you want to view.
Expand Down
2 changes: 2 additions & 0 deletions src/resources/location.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export interface LocationResource extends Pageable, ConditionalResource {

invitable(): this;

located(details: LocatableLocationParameters): this;

physical(): this;

providing(services: number | number[] | string | string[]): this;
Expand Down

0 comments on commit cd2b0f1

Please sign in to comment.