Class: Seo::KeywordAnalyzer::Result

Inherits:
Data
  • Object
show all
Defined in:
app/services/seo/keyword_analyzer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keyword_analysis: nil, status: nil, total_keyword_use_count: nil, total_keyword_in_input: nil, percentage_hit_rate: nil, unused_keywords: nil) ⇒ Result

Returns a new instance of Result.



3
# File 'app/services/seo/keyword_analyzer.rb', line 3

def initialize(keyword_analysis: nil, status: nil, total_keyword_use_count: nil, total_keyword_in_input: nil, percentage_hit_rate: nil, unused_keywords: nil) = super

Instance Attribute Details

#keyword_analysisObject (readonly)

Returns the value of attribute keyword_analysis

Returns:

  • (Object)

    the current value of keyword_analysis



2
3
4
# File 'app/services/seo/keyword_analyzer.rb', line 2

def keyword_analysis
  @keyword_analysis
end

#percentage_hit_rateObject (readonly)

Returns the value of attribute percentage_hit_rate

Returns:

  • (Object)

    the current value of percentage_hit_rate



2
3
4
# File 'app/services/seo/keyword_analyzer.rb', line 2

def percentage_hit_rate
  @percentage_hit_rate
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



2
3
4
# File 'app/services/seo/keyword_analyzer.rb', line 2

def status
  @status
end

#total_keyword_in_inputObject (readonly)

Returns the value of attribute total_keyword_in_input

Returns:

  • (Object)

    the current value of total_keyword_in_input



2
3
4
# File 'app/services/seo/keyword_analyzer.rb', line 2

def total_keyword_in_input
  @total_keyword_in_input
end

#total_keyword_use_countObject (readonly)

Returns the value of attribute total_keyword_use_count

Returns:

  • (Object)

    the current value of total_keyword_use_count



2
3
4
# File 'app/services/seo/keyword_analyzer.rb', line 2

def total_keyword_use_count
  @total_keyword_use_count
end

#unused_keywordsObject (readonly)

Returns the value of attribute unused_keywords

Returns:

  • (Object)

    the current value of unused_keywords



2
3
4
# File 'app/services/seo/keyword_analyzer.rb', line 2

def unused_keywords
  @unused_keywords
end