module BWAPI::Client::Brandwatch::DittoBrands
DittoBrands
module for brandwatch/dittobrands endpoint
Public Instance Methods
brandwatch_ditto_brands(opts = {})
click to toggle source
Get all ditto brands
@param opts [Hash] options hash of parameters @option opts [Integer] page Page of results to retrieve @option opts [Integer] pageSize Results per page of results @return [Hash] All ditto brands
# File lib/bwapi/client/brandwatch/ditto_brands.rb, line 12 def brandwatch_ditto_brands(opts = {}) get 'brandwatch/dittobrands', opts end
create_brandwatch_ditto_brand(opts = {})
click to toggle source
Create new ditto brand
@param opts [Hash] options hash of parameters @option opts [Integer] id Id of the ditto brand @option opts [String] name Name of the ditto brand @return [Hash] New ditto brand
# File lib/bwapi/client/brandwatch/ditto_brands.rb, line 22 def create_brandwatch_ditto_brand(opts = {}) post 'brandwatch/dittobrands', opts end