serenity_now 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/serenity_now/serenity_api.rb +4 -4
- data/lib/serenity_now/version.rb +1 -1
- metadata +1 -1
@@ -66,11 +66,11 @@ module SerenityNow
|
|
66
66
|
|
67
67
|
#
|
68
68
|
# Full Schedule
|
69
|
-
# available options: { country: 'US', 24_format: 1 }
|
69
|
+
# available options: { country: 'US', 24_format: '1' }
|
70
70
|
#
|
71
|
-
def schedule( country = 'US',
|
72
|
-
|
73
|
-
self.
|
71
|
+
def schedule( country = 'US', format24 = false )
|
72
|
+
uri = "/fullschedule.php?country="+country+"&24_format=" + (format24 ? '1' : '0')
|
73
|
+
self.class.get( uri )
|
74
74
|
end
|
75
75
|
|
76
76
|
end
|
data/lib/serenity_now/version.rb
CHANGED