Sha256: cddcbfa19520bbc75c0d79be498910fb4cb07539656f24b419f64d2205779a3f
Contents?: true
Size: 794 Bytes
Versions: 2
Compression:
Stored size: 794 Bytes
Contents
CMU Person ========== Originally inspired by [David Taylor](https://github.com/tinystatemachine)'s [andrewid](https://github.com/tinystatemachine/andrewid), CMU Person is a simple rubygem used for searching Carnegie Mellon's LDAP servers for student information. Installation ------------ If you want to use this gem for personal use in your terminal, just type the following command in bash: ```bash gem install cmu-person ``` If you plan to use this in a Rails project, add the following to your `Gemfile`: ```ruby gem 'cmu-person' ``` Don't forget to run the `bundle` command to install the gem! Usage ----- ```ruby user = CMU::Person.new('svargo') user.first_name #=> "Seth" user.grade #=> "Junior" ``` ```ruby user = CMU::Person.new('i_dont_exist') #=> RecordNotFound Exception ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cmu-person-0.0.2 | README.markdown |
cmu-person-0.0.1 | README.markdown |