Class: YSM::ExcludedWordsService::BasicResponse

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

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of BasicResponse.



55
56
57
58
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 55

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

Instance Attribute Details

#errorsObject

Returns the value of attribute errors.



52
53
54
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 52

def errors
  @errors
end

#operationSucceededObject

Returns the value of attribute operationSucceeded.



53
54
55
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 53

def operationSucceeded
  @operationSucceeded
end