Object
# File lib/em-twitter/response.rb, line 26 def complete? @body.size > 0 && json_start?(@body) && json_end?(@body) end
# File lib/em-twitter/response.rb, line 11 def concat(data) @timestamp = Time.now return unless data && data.size > 0 data.strip! return if data.empty? if json_start?(data) || json_end?(data) @body << data end end
# File lib/em-twitter/response.rb, line 36 def empty? @body == '' end
Generated with the Darkfish Rdoc Generator 2.