Permalink
Browse files

fix missing buzz method

  • Loading branch information...
1 parent 8b36478 commit 0694a4997d68db68baecd6470acf77a9cbbae68b @docteurklein docteurklein committed Nov 14, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/Github/HttpClient/Message/Response.php
@@ -64,4 +64,14 @@ public function getApiLimit()
throw new ApiLimitExceedException($this->options['api_limit']);
}
}
+
+ /**
+ * Is not modified
+ *
+ * @return Boolean
+ */
+ public function isNotModified()
+ {
+ return 304 === $this->getStatusCode();
+ }
}

0 comments on commit 0694a49

Please sign in to comment.