Sha256: 0fd855fa9d319ef3efb57d56cc2f7975d488f46b740e594cbee143aa4da6cbde

Contents?: true

Size: 455 Bytes

Versions: 2

Compression:

Stored size: 455 Bytes

Contents

# frozen_string_literal: true

module BrazeRuby
  module REST
    class UpdateCatalogItems < Base
      attr_reader :params
      attr_reader :catalog_name

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

      def perform
        http.put("/catalogs/#{@catalog_name}/items", @params)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
braze_ruby-0.11.0 lib/braze_ruby/rest/update_catalog_items.rb
braze_ruby-0.10.0 lib/braze_ruby/rest/update_catalog_items.rb