Exception: YSM::ExcludedWordsService::ApiFault

Inherits:
StandardError
  • 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(code = nil, message = nil) ⇒ ApiFault

Returns a new instance of ApiFault.



36
37
38
39
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 36

def initialize(code = nil, message = nil)
  @code = code
  @message = message
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



33
34
35
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 33

def code
  @code
end

#messageObject

Returns the value of attribute message.



34
35
36
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 34

def message
  @message
end