Sha256: 5f87fbdbc90756521765c41429d76e000cf2b26ae7e1a84d9b8bffbcd08eb964
Contents?: true
Size: 1.06 KB
Versions: 1
Compression:
Stored size: 1.06 KB
Contents
# frozen_string_literal: true module BrazeRuby module Endpoints module Catalogs # Catalog management def create_catalogs(**payload) BrazeRuby::REST::CreateCatalogs.new(api_key, braze_url, options, **payload).perform end def delete_catalog(catalog_name) BrazeRuby::REST::DeleteCatalog.new(api_key, braze_url, options, catalog_name).perform end def list_catalogs BrazeRuby::REST::ListCatalogs.new(api_key, braze_url, options).perform end # Catalog items def create_catalog_items(catalog_name, **payload) BrazeRuby::REST::CreateCatalogItems.new(api_key, braze_url, options, catalog_name, **payload).perform end def delete_catalog_items(catalog_name, **payload) BrazeRuby::REST::DeleteCatalogItems.new(api_key, braze_url, options, catalog_name, **payload).perform end def update_catalog_items(catalog_name, **payload) BrazeRuby::REST::UpdateCatalogItems.new(api_key, braze_url, options, catalog_name, **payload).perform end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
braze_ruby-0.10.0 | lib/braze_ruby/endpoints/catalogs.rb |