Provides a Ruby interface to the MindBody API
Add this line to your application's Gemfile:
gem 'mindbody-api'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mindbody-api
mindbody-api relies on Savon to communicate with MindBody's SOAP API. By default Savon logs your requests and responses. To control the logging level of Savon via mindbody-api set the log_level config value:
MindBody.configure do |config|
config.log_level = :info # Default is :debug, options are [:debug, :info, :warn, :error, :fatal]
end
If you're using Rails you can put the above code in an initializer (Example: config/initializers/mindbody-api.rb)
See http://savonrb.com/version2/globals.html for more information.
- Fork it
- 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 new Pull Request