Class: YSM::KeywordService::KeywordResponse

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(editorialReasons = nil, errors = nil, keyword = nil, operationSucceeded = nil) ⇒ KeywordResponse

Returns a new instance of KeywordResponse.



56
57
58
59
60
61
# File 'lib/ysm4r/v1/KeywordService.rb', line 56

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

Instance Attribute Details

#editorialReasonsObject

Returns the value of attribute editorialReasons.



51
52
53
# File 'lib/ysm4r/v1/KeywordService.rb', line 51

def editorialReasons
  @editorialReasons
end

#errorsObject

Returns the value of attribute errors.



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

def errors
  @errors
end

#keywordObject

Returns the value of attribute keyword.



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

def keyword
  @keyword
end

#operationSucceededObject

Returns the value of attribute operationSucceeded.



54
55
56
# File 'lib/ysm4r/v1/KeywordService.rb', line 54

def operationSucceeded
  @operationSucceeded
end