twilio-0.2.0.1: Twilio REST API library for Haskell

Copyright(C) 2017- Mark Andrus Roberts
LicenseBSD-style (see the file LICENSE)
MaintainerMark Andrus Roberts <markandrusroberts@gmail.com>
Stabilityprovisional
Safe HaskellSafe
LanguageHaskell98

Twilio.Types.SID.TH

Description

The code for defining SIDs is highly-repetitive and follows a pattern. This module codifies that pattern.

Synopsis

Documentation

createSID Source #

Arguments

:: Alpha

The first letter prefixing the SID

-> Alpha

The second letter prefixing the SID

-> String

The name of the resource this SID will identify

-> DecsQ 

Create a SID newtype and declare all the useful instances we expect of a SID. For example,

@@ createSID A C Account @@