Sha256: 8568026f86fe0c37e74d6a377c2e72eff260145f9d54d864dc0ad913c6b0615c

Contents?: true

Size: 1.21 KB

Versions: 2

Compression:

Stored size: 1.21 KB

Contents

[![Build Status](https://travis-ci.org/wallee-payment/wallee-ruby-sdk.svg?branch=master)](https://travis-ci.org/wallee-payment/wallee-ruby-sdk)

# wallee-ruby-sdk

A ruby wrapper around the wallee API.

## Documentation

https://app-wallee.com/doc/api/web-service

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'wallee-ruby-sdk'
```

And then execute:

```shell
$ bundle
```

Or install it yourself as:

```shell
$ gem install wallee-ruby-sdk
```


## Usage

### Basic Example

```ruby
# Load the gem
require 'wallee-ruby-sdk'

# Setup userId and authenticationKey
Wallee.configure do |config|
  config.user_id = 'YOUR USER ID'
  config.authentication_key = 'YOUR AUTHENTICATION KEY'
end

api_instance = Wallee::AccountService.new

opts = { 
  filter: Wallee::EntityQueryFilter.new # EntityQueryFilter | The filter which restricts the entities which are used to calculate the count.
}

begin
  #Count
  result = api_instance.account_service_count(opts)
  p result
rescue Wallee::ApiError => e
  puts "Exception when calling AccountService->account_service_count: #{e}"
end

```

## License

Please see the [license file](https://github.com/wallee-payment/wallee-ruby-sdk/blob/master/LICENSE) for more information.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wallee-ruby-sdk-1.0.0 README.md
wallee-ruby-sdk-0.0.0 README.md