lib/demiurge/intention.rb
# Intentions should send an apply notice when they are
# successfully applied. {#apply_notification} can be overridden by
# child classes to send more specific information.
#
# @return [void]
# @since 0.2.0
Intentions should send an apply notice when they are
successfully applied. {#apply_notification} can be overridden by
child classes to send more specific information.
Intentions should send an apply notice when they are successfully applied . { #apply_notification } can be overridden by child classes to send more specific information .
def apply_notification
      @engine.send_notification({
                                  :id => @intention_id,
                                  :intention_type => self.class.to_s,
                                  :info => @cancelled_info
                                },
                                type: Demiurge::Notifications::IntentionApplied, zone: "admin", location: nil, actor: nil,
                                include_context: true)
      nil
    end
def apply_notification @engine . send_notification ( { :id => @intention_id , :intention_type => self . class . to_s , :info => @cancelled_info } , type : Demiurge :: Notifications :: IntentionApplied , zone : "admin" , location : nil , actor : nil , include_context : true ) nil end
Intentions should send an apply notice when they are
successfully applied.
Intentions should send an apply notice when they are successfully applied .
None
void
since
None