Class: YSM::CampaignService::CampaignResponse
- Inherits:
-
Object
- Object
- YSM::CampaignService::CampaignResponse
- Defined in:
- lib/ysm4r/v1/CampaignService.rb,
lib/ysm4r/v2/CampaignService.rb
Overview
http://marketing.ews.yahooapis.com/V2CampaignResponse
Instance Attribute Summary collapse
-
#campaign ⇒ Object
Returns the value of attribute campaign.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#operationSucceeded ⇒ Object
Returns the value of attribute operationSucceeded.
Instance Method Summary collapse
-
#initialize(campaign = nil, errors = nil, operationSucceeded = nil) ⇒ CampaignResponse
constructor
A new instance of CampaignResponse.
Constructor Details
#initialize(campaign = nil, errors = nil, operationSucceeded = nil) ⇒ CampaignResponse
Returns a new instance of CampaignResponse.
49 50 51 52 53 |
# File 'lib/ysm4r/v1/CampaignService.rb', line 49 def initialize(campaign = nil, errors = nil, operationSucceeded = nil) @campaign = campaign @errors = errors @operationSucceeded = operationSucceeded end |
Instance Attribute Details
#campaign ⇒ Object
Returns the value of attribute campaign.
45 46 47 |
# File 'lib/ysm4r/v1/CampaignService.rb', line 45 def campaign @campaign end |
#errors ⇒ Object
Returns the value of attribute errors.
46 47 48 |
# File 'lib/ysm4r/v1/CampaignService.rb', line 46 def errors @errors end |
#operationSucceeded ⇒ Object
Returns the value of attribute operationSucceeded.
47 48 49 |
# File 'lib/ysm4r/v1/CampaignService.rb', line 47 def operationSucceeded @operationSucceeded end |