lib/peddler/request.rb in peddler-0.6.2 vs lib/peddler/request.rb in peddler-0.6.3

- old
+ new

@@ -27,9 +27,13 @@ def execute fetch parse end + def has_next_token? + !!next_token + end + private def parser @parser ||= Object.const_get(self.class.name.sub('Request', 'Parser')) end