Class: Axn::Webhooks::Outbound::Config::Resolution

Inherits:
Data
  • Object
show all
Defined in:
lib/axn/webhooks/outbound/config.rb

Overview

resolve_subscribers's return value: subscribers is the Array of validated Subscribers to actually fan out to; rejections is { target:, reason: } for every row TargetPolicy refused. Rejection is PER ROW -- one malformed subscriber (or one your allowed_hosts/ allow_url policy refuses) never discards the rest of a fan-out.

Instance Attribute Summary collapse

Instance Attribute Details

#rejectionsObject (readonly)

Returns the value of attribute rejections

Returns:

  • (Object)

    the current value of rejections



150
151
152
# File 'lib/axn/webhooks/outbound/config.rb', line 150

def rejections
  @rejections
end

#subscribersObject (readonly)

Returns the value of attribute subscribers

Returns:

  • (Object)

    the current value of subscribers



150
151
152
# File 'lib/axn/webhooks/outbound/config.rb', line 150

def subscribers
  @subscribers
end