Exception: YSM::KeywordService::ApiFault
- Inherits:
-
StandardError
- Object
- StandardError
- YSM::KeywordService::ApiFault
- Defined in:
- lib/ysm4r/v1/KeywordService.rb,
lib/ysm4r/v2/KeywordService.rb
Overview
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code = nil, message = nil) ⇒ ApiFault
constructor
A new instance of ApiFault.
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, = nil) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
108 109 110 |
# File 'lib/ysm4r/v1/KeywordService.rb', line 108 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
109 110 111 |
# File 'lib/ysm4r/v1/KeywordService.rb', line 109 def @message end |