<commit_before>module SmsNotify
  # Represents an SMS message response (text reply) in the form
  # of a Ruby-like object.
  class MessageResponse
    attr_reader :response_id, :text_id, :status_code, :received_date, :message

    # Create a new instance of a #MessageResponse
    #
    # == Example
    #   SmsNotify::MessageResponse.new(
    #     :ResponseID => '1',
    #     :TextID => '123',
    #     :StatusCode => '6',
    #     :ReceivedDate => '2010-04-03T14:29:14.7',
    #     :Message => 'foo')
    def initialize(attrs)
      @response_id    = attrs["ResponseID"] || nil
      @text_id        = attrs["TextID"] || nil
      @status_code    = attrs["StatusCode"] || nil
      @received_date  = attrs["ReceivedDate"] || nil
      @message        = attrs["Message"] || nil
    end
  end
end<commit_msg>RDoc example of MessageResponse.new now reflects actual behavior, and formatting of initialize is improved, thank the Great Lakes Ruby Bash<commit_after>module SmsNotify
  # Represents an SMS message response (text reply) in the form
  # of a Ruby-like object.
  class MessageResponse
    attr_reader :response_id, :text_id, :status_code, :received_date, :message

    # Create a new instance of a #MessageResponse
    #
    # == Example
    #   SmsNotify::MessageResponse.new(
    #     "ResponseID"    => '1',
    #     "TextID"        => '123',
    #     "StatusCode"    => '6',
    #     "ReceivedDate"  => '2010-04-03T14:29:14.7',
    #     "Message"       => 'foo')
    def initialize(attrs)
      @response_id    = attrs["ResponseID"]   || nil
      @text_id        = attrs["TextID"]       || nil
      @status_code    = attrs["StatusCode"]   || nil
      @received_date  = attrs["ReceivedDate"] || nil
      @message        = attrs["Message"]      || nil
    end
  end
end
{'fraction_non_alphanumeric': 0.1282051282051282, 'fraction_numerical': 0.022296544035674472, 'mean_word_length': 2.547430830039526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1346078', 'n_tokens_mistral': 579, 'n_tokens_neox': 561, 'n_words': 144}