Sha256: d2a561770ae96e0ebe4aab4c3306c594fb57321e704d3d5f68e20ff6efdabb79
Contents?: true
Size: 726 Bytes
Versions: 2
Compression:
Stored size: 726 Bytes
Contents
require 'rubygems' require 'rainbow' require 'thor' require 'active_resource' require 'pivotal_to_pdf/simple_text_formatter' require 'pivotal_to_pdf/pivotal' require 'pivotal_to_pdf/iteration' require 'pivotal_to_pdf/story' require 'pivotal_to_pdf/pdf_writer' module PivotalToPdf class Main < Thor class << self def story(story_id, colored_stripe=true) story = Story.find(story_id) PivotalToPdf::PdfWriter.new(story, colored_stripe).write_to end def iteration(iteration_token, colored_stripe=true) iteration = Iteration.find(:all, :params => {:group => iteration_token}).first PivotalToPdf::PdfWriter.new(iteration, colored_stripe).write_to end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pivotal_to_pdf-0.9.1 | lib/pivotal_to_pdf.rb |
pivotal_to_pdf-0.9 | lib/pivotal_to_pdf.rb |