<commit_before>= ActiveMerchantEbs

EBS integration for ActiveMerchant.

== Installation

=== Requirements

You need to install the ActiveMerchant gem or rails plugin. More info about ActiveMerchant installation can be found at http://www.activemerchant.org.

=== As a gem

Install the gem [recommended]:

  > gem install active_merchant_ebs  

To use the ActiveMerchantEbs gem in a Rails 3 application, add the following line in your Gemfile:

  gem 'active_merchant_ebs'

=== As a Rails plugin

To add ActiveMerchantEbs as a plugin in a Rails application, run the following command in your application root:

  > plugin install <EMAIL>:anuragphadke19/active_merchant_ebs.git

== Configuration

Create a merchant account with EBS.

Then create an initializer, like initializers/payment.rb. Add the following lines:

  ActiveMerchant::Billing::Integrations::Ebs.setup do |ebs|
    ebs.account_id =  #your EBS account ID
    ebs.mode = 'TEST' #EBS Mode 'TEST' or 'LIVE'
	ebs.secret_key = 'your secret key' #Provided by EBS<commit_msg>removed the readme for add as plugin<commit_after>= ActiveMerchantEbs

EBS integration for ActiveMerchant.

== Installation

=== Requirements

You need to install the ActiveMerchant gem or rails plugin. More info about ActiveMerchant installation can be found at http://www.activemerchant.org.

=== As a gem

Install the gem [recommended]:

  > gem install active_merchant_ebs  

To use the ActiveMerchantEbs gem in a Rails 3 application, add the following line in your Gemfile:

  gem 'active_merchant_ebs'

== Configuration

Create a merchant account with EBS.

Then create an initializer, like initializers/payment.rb. Add the following lines:

  ActiveMerchant::Billing::Integrations::Ebs.setup do |ebs|
    ebs.account_id =  #your EBS account ID
    ebs.mode = 'TEST' #EBS Mode 'TEST' or 'LIVE'
	ebs.secret_key = 'your secret key' #Provided by EBS
{'fraction_non_alphanumeric': 0.07161803713527852, 'fraction_numerical': 0.002122015915119363, 'mean_word_length': 4.563421828908554, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5273847', 'n_tokens_mistral': 585, 'n_tokens_neox': 565, 'n_words': 222}