Sha256: 799ccea8ac4d05708fa0937267ecca73292aa16e539fba01263e0bbfdf5b2669
Contents?: true
Size: 463 Bytes
Versions: 10
Compression:
Stored size: 463 Bytes
Contents
module Stellar class TransactionPage include Contracts include Enumerable Contract Hyperclient::Link => Any def initialize(resource) @resource = resource end def each @resource.records.each do |tx| yield tx if block_given? end end Contract None => TransactionPage def next_page self.class.new(@resource.next) end def next_page! @resource = @resource.next end end end
Version data entries
10 entries across 10 versions & 2 rubygems