Skip to content

Internet2-TSG/sf

dd60973b0c
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
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
July 2, 2022 09:03
July 29, 2014 15:43
July 29, 2014 15:43
July 29, 2014 15:43
July 29, 2014 15:43

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.66'

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