PSA 1 → 2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +12 -7
- data/lib/PSA/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -17,13 +17,18 @@ Or install it yourself as:
|
|
17
17
|
$ gem install PSA
|
18
18
|
|
19
19
|
## Usage
|
20
|
+
|
21
|
+
GIJoe = Intercom::PSA.new("http://intercom.herokuapps.com")
|
22
|
+
GIJoe.broadcast("Knowing is half the battle")
|
20
23
|
|
21
|
-
|
24
|
+
or
|
22
25
|
|
23
|
-
|
26
|
+
GIJoe.broadcast("Knowing is half the battle","Ralph")
|
24
27
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
28
|
+
or simply
|
29
|
+
|
30
|
+
GIJoe.ralph("Knowing is half the battle")
|
31
|
+
|
32
|
+
and also
|
33
|
+
|
34
|
+
GIJoe.alert(10) #alerts for 10 seconds -ish
|
data/lib/PSA/version.rb
CHANGED