Sha256: 994160a76e3c270b9d878b3cadcb2b0f4bfc00b867f8c3f512decf2606768e4a
Contents?: true
Size: 844 Bytes
Versions: 11
Compression:
Stored size: 844 Bytes
Contents
class BlueprintReleasePublisher 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
11 entries across 11 versions & 1 rubygems