Skip to content

Files

Latest commit

 

History

History
This branch is up to date with anthology-inc/student-api-samples:master.

RubyWebApiClient

RubyWebApiClient

RubyWebApiClient demonstrates usage of the CampusNexus Command API using Ruby. To get started:

  1. Clone the repository
  2. Install Dependencies (faraday, faraday_middleware, ruby_dig)

This project uses bundler to manage dependencies. You can easily install them:

bundle install --path=vendor/bundle

(Alternatively, use gem install)

  1. Open webapiclient.rb and set the root_uri, username and password variables to match your environment.
  2. Run: bundle exec ruby webapiclient.rb