Sha256: 45d2b164e795b1c3594f9f691822b88b43ed1708500780fe30f536cb0f621a86

Contents?: true

Size: 380 Bytes

Versions: 4

Compression:

Stored size: 380 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

4 entries across 4 versions & 1 rubygems

Version Path
braze_ruby-0.8.0 lib/braze_ruby/rest/email_unsubscribes.rb
braze_ruby-0.7.0 lib/braze_ruby/rest/email_unsubscribes.rb
braze_ruby-0.6.0 lib/braze_ruby/rest/email_unsubscribes.rb
braze_ruby-0.5.0 lib/braze_ruby/rest/email_unsubscribes.rb