lib/access/response.rb in access-2.0.36 vs lib/access/response.rb in access-2.0.37
- old
+ new
@@ -135,12 +135,18 @@
def process_data
@programs = Access::Program.process_batch([@response])
end
end
+ class UserResponse < Response
+ def process_data
+ @users = Access::User.process_batch(@users) if @users
+ end
+ end
+
class MemberResponse < Response
def process_data
- @users = Access::Member.process_batch(@users) if @users
+ @members = Access::Member.process_batch(@members) if @members
end
end
class FilterResponse < Response
def process_data