AmidoProfileService
This gem is used in conjunction with the Amido profile service to persist and retrieve profiles.
Installation
Add this line to your application's Gemfile:
gem 'amidoprofileservice'
And then execute:
$ bundle
Or install it yourself as:
$ gem install amidoprofileservice
Usage
Create a new instance
require 'amidoprofileservice'
service = AmidoProfileService.new('subscription_key_here')
Then call the API via the following methods
service.create_profile('realm_here', 'user_id_here', 'delegate_access_token_here', { :name => 'Peter' })
Contributing
- Fork it ( https://github.com/amido/amido-profile-service-rubygem/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request