Permalink
Browse files

add getter for client api version

  • Loading branch information...
1 parent 19c284e commit 5f9f1c831cbc9a6b73874d92d83d3db7c0d7c7dd Kevin Burke committed Mar 2, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 Services/Twilio.php
View
@@ -61,6 +61,15 @@ public function __construct(
}
/**
+ * Get the api version used by the rest client
+ *
+ * @return string the API version in use
+ */
+ public function getVersion() {
+ return $this->version;
+ }
+
+ /**
* GET the resource at the specified path.
*
* @param string $path Path to the resource

0 comments on commit 5f9f1c8

Please sign in to comment.