Class: YSM::KeywordResearchService::RelatedKeywordType

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(canonical = nil, common = nil, rangeValue = nil, score = nil) ⇒ RelatedKeywordType

Returns a new instance of RelatedKeywordType.



68
69
70
71
72
73
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 68

def initialize(canonical = nil, common = nil, rangeValue = nil, score = nil)
  @canonical = canonical
  @common = common
  @rangeValue = rangeValue
  @score = score
end

Instance Attribute Details

#canonicalObject

Returns the value of attribute canonical.



63
64
65
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 63

def canonical
  @canonical
end

#commonObject

Returns the value of attribute common.



64
65
66
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 64

def common
  @common
end

#rangeValueObject

Returns the value of attribute rangeValue.



65
66
67
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 65

def rangeValue
  @rangeValue
end

#scoreObject

Returns the value of attribute score.



66
67
68
# File 'lib/ysm4r/v1/KeywordResearchService.rb', line 66

def score
  @score
end