0.38
Low commit activity in last 3 years
No release in over a year
Common utils used by active_merchant, active_fulfillment, and active_shipping
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

ActiveUtils Build Status

ActiveUtils extracts commonly used modules and classes extracted from Active Merchant, to be used for other integration libraries.

Included modules and classes

  • Connection - base class for making HTTP requests
  • Country - find countries mapped by name, country codes, and numeric values
  • Error - common error classes used throughout the Active projects
  • PostData - helper class for managing required fields that are to be POST-ed
  • PostsData - making SSL HTTP requests
  • RequiresParameters - helper method to ensure the required parameters are passed in
  • Validateable - module used for making models validateable
  • NetworkConnectionRetries - module for retrying network connections when connection errors occur
  • CurrencyCode - ensure currency codes are ISO, and convert colloquial codes to ISO.

Libraries that depend on ActiveUtils

ActiveMerchant link

While most of the code in this library was extracted from ActiveMerchant, ActiveMerchant itself doesn't use this library anymore. For PCI compliance reasons, we aim to keep the number of dependencies of ActiveMerchant as low as possible. For this reason, many of these classes and modules are mirrored in ActiveMerchant (e.g. ActiveUtils::Connection vs. ActiveMerchant::Connection. When making changes to this library, you may want to mirror those changes in ActiveMerchant.

Misc

  • This project is MIT licensed.
  • Contributions are gladly accepted! See CONTRIBUTING.md for more information.