calonso/ruby-push-notifications

View on GitHub
lib/ruby-push-notifications/notification_results_manager.rb

Summary

Maintainability
A
0 mins
Test Coverage
module RubyPushNotifications
  # This module contains the required behavior expected by particular notifications
  #
  # @author Carlos Alonso
  module NotificationResultsManager
    extend Forwardable

    def_delegators :@results, :success, :failed, :individual_results

    # The corresponding object with the results from sending this notification
    # that also will respond to #success, #failed and #individual_results
    attr_accessor :results
  end
end