Sha256: df8a75b69dfe60905956360d3fc9b0cb541862056115be2df37ee17ffbc1baa8

Contents?: true

Size: 223 Bytes

Versions: 2

Compression:

Stored size: 223 Bytes

Contents

module Moiper
  module NotificationControllerHelper
    def moip_notification(data = params, &block)
      notification = Notification.new(data)
      yield notification if block_given?
      notification
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
moiper-0.1.1 lib/moiper/notification_controller_helper.rb
moiper-0.1.0 lib/moiper/notification_controller_helper.rb