Sha256: 3d9cd8e3c39f5930c9f0f1697733c33862c37b9f8b480e47194378750cf20985

Contents?: true

Size: 389 Bytes

Versions: 4

Compression:

Stored size: 389 Bytes

Contents

module BrazeRuby
  module REST
    class EmailHardBounces < Base
      attr_reader :api_key, :params

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

      def perform
        http.get('/email/hard_bounces', {
          'api_key': api_key,
          **@params
        })
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
braze_ruby-0.2.2 lib/braze_ruby/rest/email_hard_bounces.rb
braze_ruby-0.2.1 lib/braze_ruby/rest/email_hard_bounces.rb
braze_ruby-0.2.0 lib/braze_ruby/rest/email_hard_bounces.rb
braze_ruby-0.1.0 lib/braze_ruby/rest/email_hard_bounces.rb