Class: Seo::KeywordAnalyzer::Result
- Inherits:
-
Data
- Object
- Data
- Seo::KeywordAnalyzer::Result
- Defined in:
- app/services/seo/keyword_analyzer.rb
Instance Attribute Summary collapse
-
#keyword_analysis ⇒ Object
readonly
Returns the value of attribute keyword_analysis.
-
#percentage_hit_rate ⇒ Object
readonly
Returns the value of attribute percentage_hit_rate.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#total_keyword_in_input ⇒ Object
readonly
Returns the value of attribute total_keyword_in_input.
-
#total_keyword_use_count ⇒ Object
readonly
Returns the value of attribute total_keyword_use_count.
-
#unused_keywords ⇒ Object
readonly
Returns the value of attribute unused_keywords.
Instance Method Summary collapse
-
#initialize(keyword_analysis: nil, status: nil, total_keyword_use_count: nil, total_keyword_in_input: nil, percentage_hit_rate: nil, unused_keywords: nil) ⇒ Result
constructor
A new instance of Result.
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_analysis ⇒ Object (readonly)
Returns the value of attribute keyword_analysis
2 3 4 |
# File 'app/services/seo/keyword_analyzer.rb', line 2 def keyword_analysis @keyword_analysis end |
#percentage_hit_rate ⇒ Object (readonly)
Returns the value of attribute percentage_hit_rate
2 3 4 |
# File 'app/services/seo/keyword_analyzer.rb', line 2 def percentage_hit_rate @percentage_hit_rate end |
#status ⇒ Object (readonly)
Returns the value of attribute status
2 3 4 |
# File 'app/services/seo/keyword_analyzer.rb', line 2 def status @status end |
#total_keyword_in_input ⇒ Object (readonly)
Returns the value of attribute 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_count ⇒ Object (readonly)
Returns the value of attribute 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_keywords ⇒ Object (readonly)
Returns the value of attribute unused_keywords
2 3 4 |
# File 'app/services/seo/keyword_analyzer.rb', line 2 def unused_keywords @unused_keywords end |