def save!(attrs, path = nil)
      path ||= new_record? ? url : patched_url
      http_method = new_record? ? :post : :put
      response = client.send(http_method, path, attrs.to_json)
      set_attrs(attrs, false)
      set_attrs_from_response(response)
      @expanded = false
      true
    end
def save!(attrs, path = nil)
      path ||= new_record? ? url : patched_url
      http_method = new_record? ? :post : :put
      response = client.send(http_method, path, attrs.to_json)
      set_attrs(attrs, false)
      set_attrs_from_response(response)
      @expanded = false
      true
    end
Saves the specified resource attributes by sending either a POST or PUT
 request to JIRA, depending on resource.new_record?

 Accepts an attributes hash of the values to be saved.  Will throw a
 JIRA::HTTPError if the request fails (response is not HTTP 2xx).