Class: YSM::CampaignService::AddCampaign

Inherits:
Object
  • Object
show all
Defined in:
lib/ysm4r/v1/CampaignService.rb,
lib/ysm4r/v2/CampaignService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(campaign = nil) ⇒ AddCampaign

Returns a new instance of AddCampaign.



249
250
251
# File 'lib/ysm4r/v1/CampaignService.rb', line 249

def initialize(campaign = nil)
  @campaign = campaign
end

Instance Attribute Details

#campaignObject

Returns the value of attribute campaign.



247
248
249
# File 'lib/ysm4r/v1/CampaignService.rb', line 247

def campaign
  @campaign
end