Class: BrazeRuby::REST::UpdateCatalogItems
- Defined in:
- lib/braze_ruby/rest/update_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) ⇒ UpdateCatalogItems
constructor
A new instance of UpdateCatalogItems.
- #perform ⇒ Object
Constructor Details
#initialize(api_key, braze_url, options, catalog_name, **params) ⇒ UpdateCatalogItems
Returns a new instance of UpdateCatalogItems.
9 10 11 12 13 |
# File 'lib/braze_ruby/rest/update_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/update_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/update_catalog_items.rb', line 6 def params @params end |
Instance Method Details
#perform ⇒ Object
15 16 17 |
# File 'lib/braze_ruby/rest/update_catalog_items.rb', line 15 def perform http.put("/catalogs/#{@catalog_name}/items", @params) end |