Fixed comments

This commit is contained in:
Josh Sherman 2016-08-31 00:26:16 -05:00
parent ba067417bf
commit 18671ba183

View file

@ -15,16 +15,16 @@ require 'ruby-holidayapi'
hapi = Holiday::V1.new('_YOUR_API_KEY_') hapi = Holiday::V1.new('_YOUR_API_KEY_')
parameters = { parameters = {
// Required # Required
'country' => 'US', 'country' => 'US',
'year' => 2016, 'year' => 2016,
// Optional # Optional
// 'month' => 7, # 'month' => 7,
// 'day' => 4, # 'day' => 4,
// 'previous' => true, # 'previous' => true,
// 'upcoming' => true, # 'upcoming' => true,
// 'public' => true, # 'public' => true,
// 'pretty' => true, # 'pretty' => true,
} }
response = hapi.holidays(parameters) response = hapi.holidays(parameters)