Method: Aliyun::OSS::Iterator::Base#initialize
- Defined in:
- lib/aliyun/oss/iterator.rb
#initialize(protocol, opts = {}) ⇒ Base
Returns a new instance of Base.
15 16 17 18 |
# File 'lib/aliyun/oss/iterator.rb', line 15 def initialize(protocol, opts = {}) @protocol = protocol @results, @more = [], opts end |