New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

foxycart

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

foxycart

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

FoxyCart Ruby Library

THIS IS A WORK IN PROGRESS, COME BACK SOON!

A Ruby wrapper for the new FoxyCart Hypermedia REST API.

Installation

gem install foxycart

...or...

gem 'foxycart'

Usage

Below is an example of how to create a store using the FoxyCart gem:

require 'foxycart'

FoxyCart.api_key = '<YOUR-KEY-HERE>'
FoxyCart::Store.create(
  :store_name => 'My Test Store',
  :store_domain => 'some-subdomain',
  :store_url => 'http://example.com',
  :store_email => 'test@example.com',
  :postal_code => '98765',
  :country => 'US',
  :region => 'CA',
)

Check out the list of available interfaces below.

Reference

This is a work in progress, many features are still missing. The FoxyCart API itself is not finalized so this may change at any time!

FoxyCart::Store

FoxyCart Store API Reference

Supported Methods:

  • create

Development

  1. Fork
  2. Make changes (and add tests/docs!)
  3. Submit pull request
  4. ???
  5. Profit!

License

Released under the MIT license. See the LICENSE file for more details.

Credit

Written by Dana Woodman and of Teleporter.io, based heavily on the Stripe Ruby gem.

FAQs

Package last updated on 08 Nov 2013

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc