Skip to content

BaronWolfenstein/mindbody-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MindBody API

Provides a Ruby interface to the MindBody API

Installation

Add this line to your application's Gemfile:

gem 'mindbody-api'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mindbody-api

Configuration

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.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

A Ruby interface to the MindBody API v0.5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%