Class: YSM::CampaignService::CampaignResponse

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, 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

#campaignObject

Returns the value of attribute campaign.



45
46
47
# File 'lib/ysm4r/v1/CampaignService.rb', line 45

def campaign
  @campaign
end

#errorsObject

Returns the value of attribute errors.



46
47
48
# File 'lib/ysm4r/v1/CampaignService.rb', line 46

def errors
  @errors
end

#operationSucceededObject

Returns the value of attribute operationSucceeded.



47
48
49
# File 'lib/ysm4r/v1/CampaignService.rb', line 47

def operationSucceeded
  @operationSucceeded
end