Sha256: 5a3f5ffedd7912458c7d857ba78c281f964e4f8b601966c88a8e887d9f96442f

Contents?: true

Size: 487 Bytes

Versions: 1

Compression:

Stored size: 487 Bytes

Contents

# InsalesApi gem

Insales api client based on [ActiveResource](https://github.com/rails/activeresource).

Rails application example is [here](https://github.com/insales/insales_app).

## Install

Add to Gemfile:

```ruby
gem 'insales_api'
```

## Initialize

```ruby
class MyApp < InsalesApi::App
  self.api_key = 'api_key'
end

MyApp.configure_api('domain', 'password')
```

## Use

```ruby
order = InsaleApi::Order.find 123

# singleton resources
account = InsaleApi::Account.find
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
insales_api-0.0.13 README