Skip to content

taylorbrooks/rock_rms

Repository files navigation

Rock RMS Ruby Client example workflow

A Ruby wrapper for the Rock RMS API

To get a general overview of Rock RMS: https://www.rockrms.com

To stay up-to-date with the code changes of Rock RMS: https://github.com/SparkDevNetwork/Rock

I'm a big fan of Rock so if you have problems using the gem or would like to see support for new endpoints, please open a GitHub issue -- I'll get it resolved as quick as I can.

Installation

Add this line to your application's Gemfile:

  # in your Gemfile
  gem 'rock_rms', '~> 7.0.3'

  # then...
  bundle install

Usage

  # Authenticating with username and password
  client = RockRMS::Client.new(
    url: ...,
    username: ...,
    password: ...,
  )

  # Authenticating with authorization token
  client = RockRMS::Client.new(
    url: ...,
    authorization_token: ...,
  )

  # Find a specific person
  client.find_person_by_email('[email protected]')
  client.find_person_by_name('Tobias Funke')

History

View the changelog This gem follows Semantic Versioning

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

Copyright

Copyright (c) 2017-2024 Taylor Brooks. See LICENSE for details.