lib/hooloo/genre.rb in hooloo-0.3.1 vs lib/hooloo/genre.rb in hooloo-0.3.2
- old
+ new
@@ -13,10 +13,10 @@
# @return [Enumerator<Hooloo::Show>] List of shows
def shows(args={})
Hooloo.paginated_request('shows', {
genre: canonical_name,
sort: 'release_with_popularity'
- }.merge(args), 100) { |g, x| g << Hooloo::Show.new(x['show']) }
+ }.merge(args), 80) { |g, x| g << Hooloo::Show.new(x['show']) }
end
# List all genres known to Hulu
#
# @param args [Hash] (see Hooloo#request)
# @return [Array<Hooloo::Genre>] List of genres