Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oleander/sgs-rb
Ruby wrapper for sgsstudentbostader.se
https://github.com/oleander/sgs-rb
Last synced: about 2 months ago
JSON representation
Ruby wrapper for sgsstudentbostader.se
- Host: GitHub
- URL: https://github.com/oleander/sgs-rb
- Owner: oleander
- License: mit
- Created: 2012-05-31T23:20:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-05-31T23:22:13.000Z (over 12 years ago)
- Last Synced: 2024-03-15T06:25:15.278Z (10 months ago)
- Language: Ruby
- Size: 102 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SGS
Ruby wrapper for [sgsstudentbostader.se](http://www.sgsstudentbostader.se).
## Installation
`[sudo] gem install sgs`
## Usage
### Wash
``` ruby
booking = SGS::Wash.new({
username: "username",
password: "secret"
}).bookings.firstbooking.group # => "2"
```### Booking
- **group** (String) What group was booked?
- **start_time** (Time) When does it start?
- **end_time** (Time) When does it end?
- **where** (String) What studio was booked?## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## Requirements
*SGS* is tested in *OS X 10.7.4* using Ruby *1.9.2*.
## License
*SGS* is released under the *MIT license*.