lib/kosher/algorithm.rb in kosher-0.1.1 vs lib/kosher/algorithm.rb in kosher-0.1.2

- old
+ new

@@ -1,7 +1,9 @@ module Kosher class Algorithm def initialize(response) + raise ResponseNotValidError unless response.valid? + @response = response end def items @response.map('Item') do |item|