Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

jfi/bankholidays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple gem to parse UK bank holidays from https://www.gov.uk/bank-holidays/.

Usage

Loop through all bank holidays:

BankHolidays.all.each do |h|
  puts h[:date] # => 2012-12-25
  puts h[:name] # => Christmas day
end

Find the next bank holiday:

BankHolidays.next

Dependencies

Requires the httparty and icalendar gems.

About

Ruby gem to get UK bank holidays from www.gov.uk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages