Sha256: ef618f8caf32db33ebd57378e8839e34b20865796a5b72d48a790ec8f730899d
Contents?: true
Size: 474 Bytes
Versions: 2
Compression:
Stored size: 474 Bytes
Contents
module Dd2tf class Timeboard < Base def output results = [] board_ids = @client.get_dashboards[1]["dashes"].map{|board| board["id"]} board_ids.each do |board_id| board = @client.get_dashboard(board_id)[1]["dash"] board_name = board["title"].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/timeboard.rb |
dd2tf-0.2.0 | lib/dd2tf/timeboard.rb |