Sha256: d7ed9ac7261af316d60703dd4ec35672dab1a481657d2f2189056a6182a3eec6

Contents?: true

Size: 381 Bytes

Versions: 2

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true

module BrazeRuby
  module REST
    class EmailUnsubscribes < Base
      attr_reader :params

      def initialize(api_key, braze_url, options, **params)
        @params = params
        super(api_key, braze_url, options)
      end

      def perform
        http.get("/email/unsubscribes", {
          **params
        })
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
braze_ruby-0.10.0 lib/braze_ruby/rest/email_unsubscribes.rb
braze_ruby-0.9.0 lib/braze_ruby/rest/email_unsubscribes.rb