Exception: YSM::KeywordService::ApiFault

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

Returns a new instance of ApiFault.



111
112
113
114
# File 'lib/ysm4r/v1/KeywordService.rb', line 111

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

Instance Attribute Details

#codeObject

Returns the value of attribute code.



108
109
110
# File 'lib/ysm4r/v1/KeywordService.rb', line 108

def code
  @code
end

#messageObject

Returns the value of attribute message.



109
110
111
# File 'lib/ysm4r/v1/KeywordService.rb', line 109

def message
  @message
end