class MediaWiktory::Wikipedia::Actions::Centralnoticequerycampaign

Get all configuration settings for a campaign.

Usage:

“`ruby api.centralnoticequerycampaign.campaign(value).perform # returns string with raw output # or api.centralnoticequerycampaign.campaign(value).response # returns output parsed and wrapped into Response object “`

See {Base} for generic explanation of working with MediaWiki actions and {MediaWiktory::Wikipedia::Response} for working with action responses.

All action's parameters are documented as its public methods, see below.

Public Instance Methods

campaign(value) click to toggle source

Campaign name. Separate multiple values with a “|” (vertical bar).

@param value [String] @return [self]

# File lib/mediawiktory/wikipedia/actions/centralnoticequerycampaign.rb, line 26
def campaign(value)
  merge(campaign: value.to_s)
end