Exception: YSM::KeywordResearchService::ApiFault

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ysm4r/v1/KeywordResearchService.rb,
lib/ysm4r/v2/KeywordResearchService.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

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, message = nil)
  @code = code
  @message = message
end

Instance Attribute Details

#codeObject

Returns the value of attribute code.



104
105
106
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 104

def code
  @code
end

#messageObject

Returns the value of attribute message.



105
106
107
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 105

def message
  @message
end