PSA 1 → 2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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