Exception: YSM::KeywordResearchService::ApiFault
- Inherits:
-
StandardError
- Object
- StandardError
- YSM::KeywordResearchService::ApiFault
- Defined in:
- lib/ysm4r/v1/KeywordResearchService.rb,
lib/ysm4r/v2/KeywordResearchService.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.
107 108 109 110 |
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 107 def initialize(code = nil, = nil) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
104 105 106 |
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 104 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
105 106 107 |
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 105 def @message end |