Class: YSM::KeywordService::Error
- Inherits:
-
Object
- Object
- YSM::KeywordService::Error
- 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) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(code = nil, message = nil) ⇒ Error
Returns a new instance of Error.
73 74 75 76 |
# File 'lib/ysm4r/v1/KeywordService.rb', line 73 def initialize(code = nil, = nil) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
70 71 72 |
# File 'lib/ysm4r/v1/KeywordService.rb', line 70 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
71 72 73 |
# File 'lib/ysm4r/v1/KeywordService.rb', line 71 def @message end |