module Github::Connection
def default_options(options={})
def default_options(options={}) { :headers => { ACCEPT => "application/vnd.github.v3.full+json," \ "application/vnd.github.beta.full+json;q=0.7," \ "application/vnd.github+json;q=0.5," \ "application/json;q=0.1", ACCEPT_CHARSET => "utf-8", USER_AGENT => user_agent, CONTENT_TYPE => 'application/json' }, :ssl => options.fetch(:ssl) { ssl }, :url => options.fetch(:endpoint) { Github.endpoint } }.merge(options) end