def create_comment(candidate_id, member_id, comment_text, policy = [], attachment = nil)
      comment = { body: comment_text, policy: policy, attachment: attachment }

      post_request("candidates/#{candidate_id}/comments") do |request|
        request.body = { member_id: member_id, comment: comment }.to_json
      end
    end
def create_comment(candidate_id, member_id, comment_text, policy = [], attachment = nil)
      comment = { body: comment_text, policy: policy, attachment: attachment }

      post_request("candidates/#{candidate_id}/comments") do |request|
        request.body = { member_id: member_id, comment: comment }.to_json
      end
    end
create a comment on the candidate's timeline
 @param candidate_id [String] the candidate's id
 @param member_id [String] id of the member leaving the comment
 @param comment_text [String] the comment's text
 @param policy [String] option to set the view rights of the comment
 @param attachment [Hash] optional attachment for the comment
 @param attachment :name [String] filename of the attachment
 @param attachment :data [String] payload of the attachment, encoded in base64