Class: YSM::ExcludedWordsService::ExcludedWordResponse

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, excludedWord = nil, operationSucceeded = nil) ⇒ ExcludedWordResponse

Returns a new instance of ExcludedWordResponse.



86
87
88
89
90
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 86

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

Instance Attribute Details

#errorsObject

Returns the value of attribute errors.



82
83
84
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 82

def errors
  @errors
end

#excludedWordObject

Returns the value of attribute excludedWord.



83
84
85
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 83

def excludedWord
  @excludedWord
end

#operationSucceededObject

Returns the value of attribute operationSucceeded.



84
85
86
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 84

def operationSucceeded
  @operationSucceeded
end