lib/zelda/omroep.rb in zelda-1.1.0 vs lib/zelda/omroep.rb in zelda-1.1.1
- old
+ new
@@ -18,10 +18,10 @@
end
end
# Return Series for this Omroep that have broadcasts in the future.
def current_series
- Zelda::Request.get("omroepen/#{slug}/current_series")['omroep']['series']['serie'].map do |attrs|
+ Zelda::Request.get("omroepen/#{slug}/current_series")['omroep']['current_series']['serie'].map do |attrs|
Zelda::Serie.new(attrs)
end
end
end
end
\ No newline at end of file