Exception: YSM::ExcludedWordsService::ApiFault
- Inherits:
-
StandardError
- Object
- StandardError
- YSM::ExcludedWordsService::ApiFault
- 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) ⇒ ApiFault
constructor
A new instance of ApiFault.
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, = nil) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
33 34 35 |
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 33 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
34 35 36 |
# File 'lib/ysm4r/v1/ExcludedWordsService.rb', line 34 def @message end |