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