Skip to content

Commit

Permalink
Documents new meeting method setter and usage
Browse files Browse the repository at this point in the history
  • Loading branch information
craigpaul committed Jan 14, 2020
1 parent 3466102 commit 9141969
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ Find an appointment matching the pre-set matching parameters.

Set a filter to use in order to find an existing appointment.

- `method(method: number)` _(not publicly available yet)_

Set a filter which will tell the API to use the given meeting method when creating an appointment.

- `medium(medium: string)`

Set an attribute which will tell the API to use the given string as the medium UTM parameter when creating an appointment.
Expand Down Expand Up @@ -131,7 +135,7 @@ Set a relationship which will tell the API to use the given attendee model(s) wh
##### Example

```javascript
import { OpenApi, Attendee, Answer, Notifications, Response } from 'coconut-open-api-js';
import { OpenApi, Attendee, Answer, MeetingMethods, Notifications, Response } from 'coconut-open-api-js';

class Appointments {
constructor() {
Expand Down Expand Up @@ -161,6 +165,7 @@ class Appointments {
.campaign(campaign)
.content(content)
.medium(medium)
.method(MeetingMethods.AT_LOCATION)
.source(source)
.term(term)
.with(attendee)
Expand Down

0 comments on commit 9141969

Please sign in to comment.