lib/assistly/client/user.rb in assistly-0.2.0 vs lib/assistly/client/user.rb in assistly-0.2.1
- old
+ new
@@ -29,10 +29,10 @@
# @example Return extended information account users
# Assistly.users
def users(*args)
options = args.last.is_a?(Hash) ? args.pop : {}
response = get('users', options)
- response['results'].collect{|result| result.user}
+ response
end
end
end
end