Salesforce::Rails
salesforce_rails is a gem to access salesforce calender in rails application much more easier. If you use bundler, simply list it in your Gemfile, like so:
gem 'salesforce-rails'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install salesforce-rails
Usage
Configuration
$ rails g salesforce:config
# salesforce.yml
#
---
development:
client_secret: foo
client_id: bar
Calendar installation
$ rails g salesforce:calendar:install
Then
$ rails s
And open browser and type http://localhost:3000/calendar
Contributing
- Fork it ( https://github.com/dark-prince/salesforce-rails/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
) - Make sure there are tests! I will not accept any patch that is not tested. It's a rare time when explicit tests are not needed. If you have questions about writing tests for salesforce_rails, please open a GitHub issue.
- Create a new Pull Request
License
Salesforce::Rails is Copyright (c) 2014 Diganta Mandal. It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.