• Stars
    star
    111
  • Rank 312,707 (Top 7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 12 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Balanced API library in ruby.

Balanced

Online Marketplace Payments

Build Status Code Climate

v1.x requires Balanced API 1.1. Use v0.x for Balanced API 1.0.

Installation

Add this line to your application's Gemfile:

gem 'balanced'

And then execute:

$ bundle

Or install it yourself as:

$ gem install balanced

Documentation & Usage

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write your code and unit tests
  4. Ensure all tests still pass (bundle exec rspec)
  5. Commit your changes (git commit -am 'Add some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create new pull request

Specs

The spec suite is a work in progress. Existing specs can either be run using guard or rake.

Guard

$ bundle exec guard

Rake

$ rake spec

We use VCR to stub out and save http interactions. Cassettes are not stored in the repo. They are generated the first time the spec suite is run and stored in spec/cassettes. To clear them and regenerate:

$ rm -rf spec/cassettes

Issues

All issues should be documented at balanced-ruby/issues

Scenarios

####Render

To render executable files from scenario templates run rake render_executables Check /scenarios and make sure each scenario has an executable.rb file

####Delete

To delete previously generated executable files run rake delete_executables

####Test

After generating executable files, make sure they are valid Ruby files by running rspec scenarios/execute.rb from the root directory

Troubleshooting

#####OpenSSL SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)

The machine's Ruby/OpenSSL environment can't find any root certificates to trust. Please refer here to find the best solution for your environment.

More Repositories

1

balanced-dashboard

The Balanced dashboard.
JavaScript
2,284
star
2

balanced-api

Balanced API specification.
Ruby
221
star
3

billy

Billy - The open source recurring billing system, powered by Balanced.
Python
172
star
4

status.balancedpayments.com

Balanced status dashboard.
Python
120
star
5

balanced-php

Balanced API library in php.
PHP
71
star
6

balanced-python

Balanced API library in python.
Python
69
star
7

rentmybikes-rails

A fully functional, deployable marketplace implementation using Balanced API for Rails
JavaScript
60
star
8

balanced-node

Balanced API library in node.js.
JavaScript
44
star
9

balanced-js

Javascript client library for Balanced that tokenizes cards and bank accounts.
JavaScript
40
star
10

balanced-ios

Balanced iOS
Objective-C
34
star
11

www.balancedpayments.com

The website for Balanced.
HTML
29
star
12

wac

wac
Python
27
star
13

balanced.github.com

Balanced Blog
CSS
22
star
14

balanced-docs

Balanced's API Documentation
CSS
21
star
15

balanced-android

Balanced Android API.
Java
19
star
16

balanced-java

Balanced API library in java.
Java
18
star
17

django-balanced

Got Django? Start paying people in 10 minutes
Python
17
star
18

restful

Library for writing RESTful PHP clients
PHP
14
star
19

rentmybikes

premium bike rentals - sample marketplace application
Python
13
star
20

balanced-csharp

Balanced Payments C# client library
C#
10
star
21

bob

Bob the Builder - package your software into a deb/rpm/tar, publishes to a repository, and notifies you all by using a simple yaml file
Python
5
star
22

strapped

Bootstrapped less & js for Balanced UI
CSS
5
star
23

httpproxy

A transparent HTTP proxy library
Python
5
star
24

nacha

Python
4
star
25

omnibus-balanced

omnibus packaging for balanced projects
Ruby
4
star
26

sftpproxy

A SFTP proxy library
Python
4
star
27

balanced-ios-app

Hobby project
Objective-C
3
star
28

frl

Standardized logger for Flask and Requests
Python
3
star
29

forex

Our foreign currency conversion service.
Ruby
2
star
30

doughboy

Python
2
star
31

django-example

Example django integration application.
Python
2
star
32

rentmybikes-node

Node.js implementation of RentMyBikes
JavaScript
2
star
33

chronicle

python logging tools and extensions
Python
2
star
34

petitioners

Flask request tracing
Python
2
star
35

aggregation-benchmark

Some simple programs for running account balance aggregation benchmark
Python
2
star
36

BalBot

Balanced Payments Battle Bot for the Beautiful IRC Channel
Python
1
star
37

PyXB

Our own PyXB fork for isolating package
Python
1
star