<commit_before># Collmex-Ruby

A Ruby lib for speaking with the german accounting software collmex. 

[![Build Status](https://secure.travis-ci.org/romanlehnert/collmex-ruby.png)](http://travis-ci.org/romanlehnert/collmex-ruby)


## Usage

For example to get a customer and and accounting document, just enqueue the commands to the request:

    request = Collmex::Request.run do
      enqueue :customer_get, id: 9999
      enqueue :accdoc_get,   id: 1
    end

Take a look at the response:

    request.response<commit_msg>added dependency status to Readme<commit_after># Collmex-Ruby

A Ruby lib for speaking with the german accounting software collmex. 

[![Build Status](https://secure.travis-ci.org/romanlehnert/collmex-ruby.png)](http://travis-ci.org/romanlehnert/collmex-ruby)
[![Dependency Status](https://gemnasium.com/romanlehnert/collmex-ruby.png "Dependency Status")](https://gemnasium.com/romanlehnert/collmex-ruby)


## Usage

For example to get a customer and and accounting document, just enqueue the commands to the request:

    request = Collmex::Request.run do
      enqueue :customer_get, id: 9999
      enqueue :accdoc_get,   id: 1
    end

Take a look at the response:

    request.response
{'fraction_non_alphanumeric': 0.10222588623248145, 'fraction_numerical': 0.008244023083264633, 'mean_word_length': 4.100840336134453, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1283381', 'n_tokens_mistral': 422, 'n_tokens_neox': 397, 'n_words': 111}