Class: RestClient::Payload::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/restclient/components.rb

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ Object



160
161
162
# File 'lib/restclient/components.rb', line 160

def each(&block)
  @stream.each(&block)
end

#gets(*args) ⇒ Object



156
157
158
# File 'lib/restclient/components.rb', line 156

def gets(*args)
  @stream.gets(*args)
end

#rewind(*args) ⇒ Object



152
153
154
# File 'lib/restclient/components.rb', line 152

def rewind(*args)
  @stream.rewind(*args)
end