masheri

A Rails library for the Mashery API.

Installation

Add the following to your Gemfile

gem "masheri"

Then run the installer to create config/masheri.yml

$ rails g masheri:install

Configuration

Edit config/masheri.yml with your site_key, api_key and shared_secret options.

development:
  site_id: 123
  api_key: abc
  shared_secret: xyz

test:
  site_id: 123
  api_key: abc
  shared_secret: xyz

production:
  site_id: 123
  api_key: abc
  shared_secret: xyz

Usage

Members

Masheri::Member.fetch_all #=>

???

???

???