Skip to content

Commit 0694a49

Browse files
committed
fix missing buzz method
1 parent 8b36478 commit 0694a49

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/Github/HttpClient/Message/Response.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,14 @@ public function getApiLimit()
6464
throw new ApiLimitExceedException($this->options['api_limit']);
6565
}
6666
}
67+
68+
/**
69+
* Is not modified
70+
*
71+
* @return Boolean
72+
*/
73+
public function isNotModified()
74+
{
75+
return 304 === $this->getStatusCode();
76+
}
6777
}

0 commit comments

Comments
 (0)