Sha256: e28f6d01b6af922f2ac5c6bb60ea7c85e261d8b477528b060e686e83baf6f3be
Contents?: true
Size: 367 Bytes
Versions: 3
Compression:
Stored size: 367 Bytes
Contents
module Dd2tf class User < Base def output users = @client.get_all_users[1]["users"] results = [] users.each do |user| user_name = user["name"].to_s.underscore.gsub(" ", "_").gsub(UNALLOWED_RESOURCE_TITLE_REGEXP, '') renderer = renderer() results << renderer.result(binding) end results end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dd2tf-0.1.2 | lib/dd2tf/user.rb |
dd2tf-0.1.1 | lib/dd2tf/user.rb |
dd2tf-0.1.0 | lib/dd2tf/user.rb |