Class: YSM::ExcludedWordsService::Error
- Inherits:
-
Object
- Object
- YSM::ExcludedWordsService::Error
- Defined in:
- lib/ysm4r/v1/ExcludedWordsService.rb,
lib/ysm4r/v2/ExcludedWordsService.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.
70 71 72 73 |
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 70 def initialize(code = nil, = nil) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
67 68 69 |
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 67 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
68 69 70 |
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 68 def @message end |