beanie

Beanie - the Ruby gem for the Beanie ERP API

An API specification for interacting with the Beanie ERP system

This SDK is automatically generated by the Swagger Codegen project:

  • API version: 0.1
  • Package version: 0.2.0
  • Build package: io.swagger.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build beanie.gemspec

Then either install the gem locally:

gem install ./beanie-0.2.0.gem

(for development, run gem install --dev ./beanie-0.2.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'beanie', '~> 0.2.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/altoyield/ruby-beanieclient, then add the following in the Gemfile:

gem 'beanie', :git => 'https://github.com/altoyield/ruby-beanieclient.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'beanie'

api_instance = Beanie::BankAccountApi.new

 = Beanie::BankAccountInput.new # BankAccountInput | Bank account to add to the system


begin
  result = api_instance.()
  p result
rescue Beanie::ApiError => e
  puts "Exception when calling BankAccountApi->add_bank_account: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://bean.ie

Class Method HTTP request Description
Beanie::BankAccountApi add_bank_account POST /bank_accounts
Beanie::BankAccountApi find_bank_account_by_id GET /bank_accounts/id Find Bank Account by ID
Beanie::BankAccountApi find_bank_accounts GET /bank_accounts All bank accounts

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.