huboard / ghee

This is an unofficial ruby client for the Github API. The end goal is a complete, simple, and intuitive ruby API for all things Github.
http://documentup.com/huboard/ghee
MIT License
160 stars 51 forks source link

Gives the issues api the ability to utilize request blocks #39

Closed discorick closed 8 years ago

discorick commented 8 years ago

I.E

gh.issues(10) do |request|
  request.headers["Accept"] = "super-fancy/prevew-header"
end
drusellers commented 8 years ago

As a non-ruby dev - looks legit.

dahlbyk commented 8 years ago

Are there any other proxies that can/should be made to accept blocks while we're here?

discorick commented 8 years ago

Are there any other proxies that can/should be made to accept blocks while we're here?

Was hoping for minimal impact on this one. The answer is yes in probably quite a few places, can we defer to a larger ghee upgrade ? Theres also new endpoints and things we are going to want to implement.

dahlbyk commented 8 years ago

can we defer to a larger ghee upgrade ?

:+1: