Skip to content
Permalink
cac6cecbfb
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
42 lines (29 sloc) 1003 Bytes

Sf

It's a gem to access the Internet2 Salesforce instance with custom objects.

Installation

Add the sf gem to your application's Gemfile:

For example,

gem 'sf', :git => 'git+ssh://github.internet2.edu/Internet2-TSG/sf.git', :tag => 'v0.1.34'

And then execute:

$ bundle

Usage

In the hosting application, a configuration file, for example config/restforce.yml, with the following information is needed.

  host: test.salesforce.com
  username: username@domain
  password: xxxxxxxxxxxxxxxxxxxxx
  security_token: xxxxxxxxxxxxx
  client_id: xxxxxxxxxxxxxxxxxxxx
  client_secret: xxxxxxxxxxxxxx
  api_version: '24.0'

Please refer to https://github.com/ejholmes/restforce for the detail.

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