lib/mws/orders/tokenable.rb in mws-orders-0.1.0 vs lib/mws/orders/tokenable.rb in mws-orders-0.1.1
- old
+ new
@@ -1,9 +1,9 @@
module MWS
module Orders
module Tokenable
def next_token
- node = xpath('NextToken')
+ node = xpath('NextToken').first
node.text if node
end
end
end
end