Permalink
Browse files

Added PHP syntax highlighting to the README.

  • Loading branch information...
1 parent 2d8e141 commit 0eba965be59aed2ef98b794da0e8e0501ce1d105 @adammagana committed Apr 21, 2012
Showing with 7 additions and 5 deletions.
  1. +7 −5 README.md
View
@@ -8,9 +8,11 @@
##Usage
###Constructor
-```
-require('rtm.php');
-$rtm = new RTM(APP_KEY, APP_SECRET, PERMISSIONS, FORMAT);
+```php
+<?php
+ require('rtm.php');
+ $rtm = new RTM(APP_KEY, APP_SECRET, PERMISSIONS, FORMAT);
+?>
```
<table>
<tr>
@@ -46,8 +48,8 @@ $rtm = new RTM(APP_KEY, APP_SECRET, PERMISSIONS, FORMAT);
</table>
###Generate Authentication URL
-```
-$authUrl = $rtm->getAuthUrl();
+```php
+<?php $authUrl = $rtm->getAuthUrl(); ?>
```
The value of `$authUrl` will be a RTM formatted authentication URL containing your API Key, permission level, response format, and signature.

0 comments on commit 0eba965

Please sign in to comment.