class Tmdb::LazyIterator(T)

Included Modules

Defined in:

lazy_iterator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(resource : Resource, max_pages : Int32 = 500, skip_cache : Bool = false, initializer : JSON::Any -> T = ->(item : JSON::Any) do T.new(item) end) #

[View source]

Instance Method Detail

def each(&) #
Description copied from module Enumerable(T)

Must yield this collection's elements to the block.


[View source]
def resource : Resource #

[View source]
def total_items : Int32 #

[View source]