This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

add status resource

  • Loading branch information...
1 parent 7d91603 commit babaae0d116d21b8b397a00ad4c19a1a142c2eea @rsanheim rsanheim committed Jul 20, 2012
Showing with 10 additions and 1 deletion.
  1. +10 −1 lib/resources.rb
View
@@ -872,7 +872,16 @@ def text_html(response, status, head = {})
"sha" => "3d21ec53a331a6f037a91c368710b99387d012c1"
}
- STATUS = {}
+ STATUS = {
+ "created_at" => "2012-07-20T01:19:13Z",
+ "updated_at" => "2012-07-20T01:19:13Z",
+ "state" => "success",
+ "target_url" => "https://janky.ci.example.com/67717/output",
+ "description" => "Build has completed successfully",
+ "id" => 10569,
+ "url" => "https://api.github.com/repos/github/github/statuses/10569",
+ "creator" => USER
+ }
end
end

0 comments on commit babaae0

Please sign in to comment.