def create(note)
      validate_type!(note)

      attributes = sanitize(note)
      _, _, root = @client.post("/notes", attributes)

      Note.new(root[:data])
    end
def create(note)
      validate_type!(note)

      attributes = sanitize(note)
      _, _, root = @client.post("/notes", attributes)

      Note.new(root[:data])
    end
Create a note

 post '/notes'

 Create a new note and associate it with one of the resources listed below:
 * [Leads](/docs/rest/reference/leads)
 * [Contacts](/docs/rest/reference/contacts)
 * [Deals](/docs/rest/reference/deals)

 @param note [Note, Hash] Either object of the Note type or Hash. This object's attributes describe the object to be created.
 @return [Note] The resulting object represting created resource.