Class: YSM::KeywordResearchService::ErrorType

Inherits:
Object
  • 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(key = nil, param = nil) ⇒ ErrorType

Returns a new instance of ErrorType.



96
97
98
99
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 96

def initialize(key = nil, param = nil)
  @key = key
  @param = param
end

Instance Attribute Details

#keyObject

Returns the value of attribute key.



93
94
95
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 93

def key
  @key
end

#paramObject

Returns the value of attribute param.



94
95
96
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 94

def param
  @param
end