lib/gocardless/page.rb
# Yield each of the items in the page as instances of the resource class
Yield each of the items in the page as instances of the resource class
Yield each of the items in the page as instances of the resource class
def each(&block)
      @data.each do |attrs|
        yield @resource_class.new(attrs)
      end
    end
def each ( & block ) @data . each do | attrs | yield @resource_class . new ( attrs ) end end
Yield each of the items in the page as instances of the resource class
Yield each of the items in the page as instances of the resource class
block
<not_specific>