SSIM parser for Ruby.
Add this line to your application's Gemfile:
gem 'ssim'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ssim
schedule = SSIM.schedule(
url: 'path/to/file.ssim',
date: Date.today,
# optional IATA codes for departure and arrival points
departure_point: 'YKS'
)
schedule.table
schedule.created_at
schedule.from_date
schedule.to_date
MIT