Skip to content

Commit

Permalink
Merge pull request #217 from skedify/develop
Browse files Browse the repository at this point in the history
release/next
  • Loading branch information
brechtdewinne authored Jan 30, 2021
2 parents 68034f9 + 4d7b388 commit ea70e36
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/resources/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1459,6 +1459,21 @@ Object {
"resource": "timetable",
"sub_resources": Object {},
},
"timezones": Object {
"allowed_includes": Array [],
"allowed_methods": Array [
"get",
],
"deprecated": false,
"filters": Array [
"page",
"per_page",
],
"headers": Object {},
"requires_domain_map": false,
"resource": "timezones",
"sub_resources": Object {},
},
"unavailability": Object {
"allowed_includes": Array [],
"allowed_methods": Array [
Expand Down
1 change: 1 addition & 0 deletions src/resources/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ export * from './subjectCategories'
export * from './subjectCoverageRegions'
export * from './subjects'
export * from './timetable'
export * from './timezones'
export * from './unavailability'
export * from './users'
6 changes: 6 additions & 0 deletions src/resources/timezones.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import createResourceDescription from './util/createResourceDescription'
import { HTTP_VERB_GET } from '../constants'

export const timezones = createResourceDescription('timezones', {
allowed_methods: [HTTP_VERB_GET],
})

0 comments on commit ea70e36

Please sign in to comment.