ONEAccess Forward Calendar Parser for Ruby
This is a Ruby gem to Parse ONEAccess Forward Calendar XML files.
Installation & Setup
Install the gem directly:
gem install forward_calendar
or add it to your Gemfile
:
gem 'forward_calendar'
Tests
The tests are written in RSpec. Run the rspec
in the root directory of the project.
A coverage report is automatically generated and stored under /coverage
.
Usage
Basic usage:
require 'rixml'
#parse from file
forward_calendar = ForwardCalendar.parse_from_file('./path/to/forward_calendar.xml')
#parse from string
forward_calendar = ForwardCalendar.parse('<xml></xml>')