Socket
Book a DemoInstallSign in
Socket

active_utils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

active_utils

3.5.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

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

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.

FAQs

Package last updated on 05 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.