Sha256: 2f7ca027f34376d278502f96ff91f22215138afa72763da8a76df9043dd373af

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

require 'rubygems'
require 'rainbow'
require 'active_resource'
require 'pivotal_to_pdf/story'
require 'pivotal_to_pdf/pdf_writer'
class PivotalToPdf
  class << self
    def write(story_id)
      story = Story.find(story_id)
      PdfWriter.new(story).write_to
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pivotal_to_pdf-0.1.1 lib/pivotal_to_pdf.rb
pivotal_to_pdf-0.1 lib/pivotal_to_pdf.rb