<commit_before>Reply
======

A simple class used to encapsulate the reply from a service

[![Build Status](https://travis-ci.org/sporto/reply.png)](https://travis-ci.org/sporto/reply)

Usage
-----

  reply = Reply.new

  # add message
  reply.add_message("Something")

  # add multiple messages
  reply.add_messages(["x", "y"])

  # mark the reply as succesful (this is the default)
  reply.success!

  # mark as warning
  reply.warning!

  # mark as error
  reply.error!

  # add error message and mark as error at the same time
  reply.add_error("Something bad happend")

  # add erroor messages and mark as error
  reply.add_error(["Error 1", "Error 2"])

  # check if reply was successful
  reply.successful?
  reply.success?

  # check if reply was unsuccessful
  reply.error?
  reply.failure?

  # add some data to the reply
  reply.data = something<commit_msg>read me<commit_after>Reply
======

A simple class used to encapsulate the reply from a service

[![Build Status](https://travis-ci.org/sporto/reply.png)](https://travis-ci.org/sporto/reply)

Usage
-----

```ruby
  reply = Reply.new

  # add message
  reply.add_message("Something")

  # add multiple messages
  reply.add_messages(["x", "y"])

  # mark the reply as succesful (this is the default)
  reply.success!

  # mark as warning
  reply.warning!

  # mark as error
  reply.error!

  # add error message and mark as error at the same time
  reply.add_error("Something bad happend")

  # add erroor messages and mark as error
  reply.add_error(["Error 1", "Error 2"])

  # check if reply was successful
  reply.successful?
  reply.success?

  # check if reply was unsuccessful
  reply.error?
  reply.failure?

  # add some data to the reply
  reply.data = something
```

Copyright
---------
Copyright © 2013 <NAME>. See LICENSE.txt for further details.
{'fraction_non_alphanumeric': 0.11903455842018651, 'fraction_numerical': 0.004388370817334065, 'mean_word_length': 3.3846153846153846, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 4, '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': '2669018', 'n_tokens_mistral': 606, 'n_tokens_neox': 569, 'n_words': 191}