Class: YSM::CampaignService::BasicResponse

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(errors = nil, operationSucceeded = nil) ⇒ BasicResponse

Returns a new instance of BasicResponse.



153
154
155
156
# File 'lib/ysm4r/v1/CampaignService.rb', line 153

def initialize(errors = nil, operationSucceeded = nil)
  @errors = errors
  @operationSucceeded = operationSucceeded
end

Instance Attribute Details

#errorsObject

Returns the value of attribute errors.



150
151
152
# File 'lib/ysm4r/v1/CampaignService.rb', line 150

def errors
  @errors
end

#operationSucceededObject

Returns the value of attribute operationSucceeded.



151
152
153
# File 'lib/ysm4r/v1/CampaignService.rb', line 151

def operationSucceeded
  @operationSucceeded
end