lib/ecoportal/api/common/wrapped_response.rb in ecoportal-api-0.1.1 vs lib/ecoportal/api/common/wrapped_response.rb in ecoportal-api-0.1.2
- old
+ new
@@ -1,8 +1,9 @@
module Ecoportal
module API
module Common
class WrappedResponse
+ include Enumerable
attr_reader :response, :result
def initialize(response, klass)
@response = response
@klass = klass