lib/cpee/instantiation.rb in cpee-1.5.11 vs lib/cpee/instantiation.rb in cpee-1.5.12
- old
+ new
@@ -188,10 +188,10 @@
def response
cpee = @h['X_CPEE'] || @a[0]
selfurl = @a[1]
cblist = @a[2]
- name = @a[3] ? @p.pop.value : nil
+ name = @a[3] ? @p.shift.value : nil
status, res = Riddl::Client.new(@p[1].value.gsub(/ /,'%20')).get
tdoc = if status >= 200 && status < 300
res[0].value.read
else