<commit_before>currency_finance_ua
===================

It is a simple wrapper by http://content.finance.ua/ru/xml/currency-cash/

You can to get currency rate of exchange specified by max or min value and ask-bid spread.

usage
===================
    $ gem install currency_finance_ua
    $ require 'currency_finance_ua'

    # Load json data from http://content.finance.ua/ru/xml/currency-cash/
    $ CurrencyFinanceUA.load

    # Get rate of exchange by current date
    # :rate - 'min' or 'max'
    # :bid_ask - 'bid' or 'ask' spread
    # return organization which are satisfied for all options
    $ CurrencyFinanceUA.rate_of_exchange(Money::Currency.new('USD'), {:rate => 'min', :bid_ask => 'ask'})
    <commit_msg>- Add minor changes to readme file.<commit_after>currency_finance_ua
===================

It is a simple wrapper by http://content.finance.ua/ru/xml/currency-cash/

You can to get currency rate of exchange specified by max or min value and bid-ask spread.

usage
===================
    $ gem install currency_finance_ua
    $ require 'currency_finance_ua'

    # Load json data from http://content.finance.ua/ru/xml/currency-cash/
    $ CurrencyFinanceUA.load

    # Get rate of exchange by current date
    # :rate - 'min' or 'max'
    # :bid_ask - 'bid' or 'ask' spread
    # return organization which are satisfied for all options
    $ CurrencyFinanceUA.rate_of_exchange(Money::Currency.new('USD'), {:rate => 'min', :bid_ask => 'ask'})
{'fraction_non_alphanumeric': 0.15311004784688995, 'fraction_numerical': 0.0, 'mean_word_length': 3.784313725490196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '7400158', 'n_tokens_mistral': 456, 'n_tokens_neox': 436, 'n_words': 138}