Module: FeedbackPopup

Defined in:
lib/feedback_popup.rb,
lib/feedback_popup/version.rb

Defined Under Namespace

Modules: FeedbackPopupHelper Classes: Engine, Mailer, Message, MessagesController

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Makes possible configuration with block:

FeedbackPopup.setup do |config|

config.mail_from = "[email protected]"
config.mail_to   = "[email protected]"

end

Yields:

  • (_self)

Yield Parameters:

  • _self (FeedbackPopup)

    the object that the method was called on



21
22
23
# File 'lib/feedback_popup.rb', line 21

def self.setup
  yield self
end