Skip to content

Commit babaae0

Browse files
committed
add status resource
1 parent 7d91603 commit babaae0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

lib/resources.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,16 @@ def text_html(response, status, head = {})
872872
"sha" => "3d21ec53a331a6f037a91c368710b99387d012c1"
873873
}
874874

875-
STATUS = {}
875+
STATUS = {
876+
"created_at" => "2012-07-20T01:19:13Z",
877+
"updated_at" => "2012-07-20T01:19:13Z",
878+
"state" => "success",
879+
"target_url" => "https://janky.ci.example.com/67717/output",
880+
"description" => "Build has completed successfully",
881+
"id" => 10569,
882+
"url" => "https://api.github.com/repos/github/github/statuses/10569",
883+
"creator" => USER
884+
}
876885

877886
end
878887
end

0 commit comments

Comments
 (0)