Module: MultipleMan::Publisher::ClassMethods

Defined in:
lib/multiple_man/mixins/publisher.rb

Instance Method Summary collapse

Instance Method Details

#multiple_man_publish(operation = :create) ⇒ Object



26
27
28
# File 'lib/multiple_man/mixins/publisher.rb', line 26

def multiple_man_publish(operation=:create)
  multiple_man_publisher.publish(self, operation)
end

#publish(options = {}) ⇒ Object



30
31
32
# File 'lib/multiple_man/mixins/publisher.rb', line 30

def publish(options = {})
  self.multiple_man_publisher = ModelPublisher.new(options)
end