class Pieces::Publisher
Public Class Methods
publish(config)
click to toggle source
# File lib/pieces/publisher.rb, line 5 def self.publish(config) new(Pieces::Config.new(config)).publish end
Public Instance Methods
publish()
click to toggle source
# File lib/pieces/publisher.rb, line 11 def publish publisher_class.new(config).publish end
Private Instance Methods
publisher_class()
click to toggle source
# File lib/pieces/publisher.rb, line 17 def publisher_class self.class.const_get(config.publish_endpoint['type'].capitalize) end