Sha256: 049c562f18c5efc1dc329d1fdefd63ced51072f035ad1138378e874d2a3d10a4
Contents?: true
Size: 423 Bytes
Versions: 8
Compression:
Stored size: 423 Bytes
Contents
module PushToSNS class TeardownPushNotification def initialize(device, configuration = PushToSNS.configuration) self.device = device self.configuration = configuration end def perform endpoint = configuration.apply(:read_endpoint_arn, device) AWS.sns.client.delete_endpoint(endpoint_arn: endpoint) if endpoint end private attr_accessor :device, :configuration end end
Version data entries
8 entries across 8 versions & 1 rubygems