@getoccasion/sdk
Version:
An SDK library that enables access to Occasion's application, providing a rich DSL for creating and managing bookings.
10 lines (7 loc) • 302 B
JavaScript
Occasion.Modules.push(function(library) {
// TODO: Remove ability to directly query redeemables
library.Redeemable = class Redeemable extends library.Base {}
library.Redeemable.className = 'Redeemable'
library.Redeemable.queryName = 'redeemables'
library.Redeemable.belongsTo('product')
})