-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTwitterOperation.xml
More file actions
42 lines (34 loc) · 1.13 KB
/
TwitterOperation.xml
File metadata and controls
42 lines (34 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="22" zv="Cache for Windows (x86-32) 2008.2 (Build 526U)" ts="2009-07-19 22:03:45">
<Class name="Ensemblisms.Episode4.TwitterOperation">
<ProcedureBlock>1</ProcedureBlock>
<Super>Ens.BusinessOperation</Super>
<TimeChanged>61561,73003.059538</TimeChanged>
<TimeCreated>61561,62494.39933</TimeCreated>
<Parameter name="ADAPTER">
<Default>EnsLib.HTTP.OutboundAdapter</Default>
</Parameter>
<Parameter name="INVOCATION">
<Default>InProc</Default>
</Parameter>
<Method name="TweetThis">
<FormalSpec>pRequest:Ens.Request,pResponse:Ens.Response</FormalSpec>
<ReturnType>%Status</ReturnType>
<Implementation><![CDATA[
Set tweet = $$$OK
// Now, Here is the Twitter Object, it takes the params of the Credentials, and some alert text
Set tweet = ##class(Ensemblisms.Episode4.Twitter).SendTweet("TWITTER", pRequest.SourceConfigName_": "_pRequest.AlertText)
Quit tweet
]]></Implementation>
</Method>
<XData name="MessageMap">
<Data><![CDATA[
<MapItems>
<MapItem MessageType="Ens.Request">
<Method>TweetThis</Method>
</MapItem>
</MapItems>
]]></Data>
</XData>
</Class>
</Export>