Class: YSM::AdGroupService::BasicResponse

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors = nil, operationSucceeded = nil) ⇒ BasicResponse

Returns a new instance of BasicResponse.



155
156
157
158
# File 'lib/ysm4r/v1/AdGroupService.rb', line 155

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

Instance Attribute Details

#errorsObject

Returns the value of attribute errors.



152
153
154
# File 'lib/ysm4r/v1/AdGroupService.rb', line 152

def errors
  @errors
end

#operationSucceededObject

Returns the value of attribute operationSucceeded.



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

def operationSucceeded
  @operationSucceeded
end