Sha256: 6dbc74689c6805139543fc4530035aa23dd1f48cdbf2d6d3d7590a52a7ffe872
Contents?: true
Size: 376 Bytes
Versions: 2
Compression:
Stored size: 376 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(::Dd2tf::UNALLOWED_RESOURCE_TITLE_REGEXP, '') renderer = renderer() results << renderer.result(binding) end results end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dd2tf-0.2.1 | lib/dd2tf/user.rb |
dd2tf-0.2.0 | lib/dd2tf/user.rb |