CollectionSpace Client
CollectionSpace API client.
Installation
Add this line to your application's Gemfile (replace $VERSION with an available tag):
gem 'collectionspace-client', tag: $VERSION, git: 'https://github.com/collectionspace/collectionspace-client.git'And then execute bundle install.
Usage
See the sample scripts within the examples directory.
Development
To run the examples:
bundle exec ruby examples/demo.rbAny script placed in the examples directory with a my_ prefix are ignored by git. Follow the convention used by the existing scripts to bootstrap and experiment away.
To run the tests:
bundle exec rakeReleasing
Create a pull request that updates ./lib/collectionspace/client/version.rb. After it is merged a release will be built and published in RubyGems and a tag will be created and pushed to GitHub.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/collectionspace/collectionspace-client.
License
The gem is available as open source under the terms of the MIT License.