class Github::ParamsHash

def options


Any client configuration options
def options
  hash = has_key?('options') ? self.delete('options') : {}
  if value = accept
    hash[:headers] = {} unless hash.has_key?(:headers)
    hash[:headers]['Accept'] = value
  end
  hash[:raw] = has_key?('raw') ? self.delete('raw') : false
  hash
end