Class: BrazeRuby::REST::DeleteCatalogItems
- Defined in:
- lib/braze_ruby/rest/delete_catalog_items.rb
Instance Attribute Summary collapse
-
#catalog_name ⇒ Object
readonly
Returns the value of attribute catalog_name.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(api_key, braze_url, options, catalog_name, **params) ⇒ DeleteCatalogItems
constructor
A new instance of DeleteCatalogItems.
- #perform ⇒ Object
Constructor Details
#initialize(api_key, braze_url, options, catalog_name, **params) ⇒ DeleteCatalogItems
Returns a new instance of DeleteCatalogItems.
9 10 11 12 13 |
# File 'lib/braze_ruby/rest/delete_catalog_items.rb', line 9 def initialize(api_key, braze_url, , catalog_name, **params) @catalog_name = catalog_name @params = params super(api_key, braze_url, ) end |
Instance Attribute Details
#catalog_name ⇒ Object (readonly)
Returns the value of attribute catalog_name.
7 8 9 |
# File 'lib/braze_ruby/rest/delete_catalog_items.rb', line 7 def catalog_name @catalog_name end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
6 7 8 |
# File 'lib/braze_ruby/rest/delete_catalog_items.rb', line 6 def params @params end |
Instance Method Details
#perform ⇒ Object
15 16 17 |
# File 'lib/braze_ruby/rest/delete_catalog_items.rb', line 15 def perform http.delete("/catalogs/#{@catalog_name}/items", @params) end |