Class: YSM::KeywordService::BasicResponse

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of BasicResponse.



161
162
163
164
# File 'lib/ysm4r/v1/KeywordService.rb', line 161

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

Instance Attribute Details

#errorsObject

Returns the value of attribute errors.



158
159
160
# File 'lib/ysm4r/v1/KeywordService.rb', line 158

def errors
  @errors
end

#operationSucceededObject

Returns the value of attribute operationSucceeded.



159
160
161
# File 'lib/ysm4r/v1/KeywordService.rb', line 159

def operationSucceeded
  @operationSucceeded
end