mirror of
https://github.com/holidayapi/holidayapi-ruby.git
synced 2025-06-21 12:36:34 +00:00
Fixed comments
This commit is contained in:
parent
ba067417bf
commit
18671ba183
1 changed files with 8 additions and 8 deletions
16
README.md
16
README.md
|
@ -15,16 +15,16 @@ require 'ruby-holidayapi'
|
|||
hapi = Holiday::V1.new('_YOUR_API_KEY_')
|
||||
|
||||
parameters = {
|
||||
// Required
|
||||
# Required
|
||||
'country' => 'US',
|
||||
'year' => 2016,
|
||||
// Optional
|
||||
// 'month' => 7,
|
||||
// 'day' => 4,
|
||||
// 'previous' => true,
|
||||
// 'upcoming' => true,
|
||||
// 'public' => true,
|
||||
// 'pretty' => true,
|
||||
# Optional
|
||||
# 'month' => 7,
|
||||
# 'day' => 4,
|
||||
# 'previous' => true,
|
||||
# 'upcoming' => true,
|
||||
# 'public' => true,
|
||||
# 'pretty' => true,
|
||||
}
|
||||
|
||||
response = hapi.holidays(parameters)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue