Sha256: 3c51114a1a06300850b0c7912cbf7ec99de27f52002abdd711c2802c7daf3266
Contents?: true
Size: 844 Bytes
Versions: 13
Compression:
Stored size: 844 Bytes
Contents
class BlueprintProjectPublisher def self.publish(epic, options={}) via = (options.fetch(:via, :github) || :github) if respond_to?("publish_via_#{via}") send("publish_via_#{via}", epic,options) else raise "Invalid publishing source. Need to implement publish_via_#{via} method" end end def self.sync(epic, options={}) via = (options.fetch(:via, :github) || :github) if respond_to?("sync_via_#{via}") send("sync_via_#{via}", epic,options) else raise "Invalid syncing source. Need to implement sync_via_#{via} method" end end def self.publish_via_pivotal(epic, options={}) raise "Not Implemented. Implement #{ name }.publish_via_pivotal" end def self.publish_via_github(epic, options={}) raise "Not Implemented. Implement #{ name }.publish_via_github" end end
Version data entries
13 entries across 13 versions & 1 rubygems