Class: YSM::AdService::BasicResponse

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of BasicResponse.



130
131
132
133
# File 'lib/ysm4r/v1/AdService.rb', line 130

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

Instance Attribute Details

#errorsObject

Returns the value of attribute errors.



127
128
129
# File 'lib/ysm4r/v1/AdService.rb', line 127

def errors
  @errors
end

#operationSucceededObject

Returns the value of attribute operationSucceeded.



128
129
130
# File 'lib/ysm4r/v1/AdService.rb', line 128

def operationSucceeded
  @operationSucceeded
end