Class: YSM::KeywordService::GetEditorialReasonText

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(editorialReasonCode = nil, locale = nil) ⇒ GetEditorialReasonText

Returns a new instance of GetEditorialReasonText.



655
656
657
658
# File 'lib/ysm4r/v1/KeywordService.rb', line 655

def initialize(editorialReasonCode = nil, locale = nil)
  @editorialReasonCode = editorialReasonCode
  @locale = locale
end

Instance Attribute Details

#editorialReasonCodeObject

Returns the value of attribute editorialReasonCode.



652
653
654
# File 'lib/ysm4r/v1/KeywordService.rb', line 652

def editorialReasonCode
  @editorialReasonCode
end

#localeObject

Returns the value of attribute locale.



653
654
655
# File 'lib/ysm4r/v1/KeywordService.rb', line 653

def locale
  @locale
end