Class: Awis::Models::UsageStatistic
- Inherits:
-
BaseEntity
- Object
- BaseEntity
- Awis::Models::UsageStatistic
- Defined in:
- lib/awis/models/url_info.rb
Instance Attribute Summary collapse
-
#rank_delta ⇒ Object
Returns the value of attribute rank_delta.
-
#rank_value ⇒ Object
Returns the value of attribute rank_value.
-
#reach_page_views_per_million_delta ⇒ Object
Returns the value of attribute reach_page_views_per_million_delta.
-
#reach_page_views_per_million_value ⇒ Object
Returns the value of attribute reach_page_views_per_million_value.
-
#reach_page_views_per_user_delta ⇒ Object
Returns the value of attribute reach_page_views_per_user_delta.
-
#reach_page_views_per_user_value ⇒ Object
Returns the value of attribute reach_page_views_per_user_value.
-
#reach_page_views_rank_delta ⇒ Object
Returns the value of attribute reach_page_views_rank_delta.
-
#reach_page_views_rank_value ⇒ Object
Returns the value of attribute reach_page_views_rank_value.
-
#reach_per_million_delta ⇒ Object
Returns the value of attribute reach_per_million_delta.
-
#reach_per_million_value ⇒ Object
Returns the value of attribute reach_per_million_value.
-
#reach_rank_delta ⇒ Object
Returns the value of attribute reach_rank_delta.
-
#reach_rank_value ⇒ Object
Returns the value of attribute reach_rank_value.
-
#time_range_days ⇒ Object
Returns the value of attribute time_range_days.
-
#time_range_months ⇒ Object
Returns the value of attribute time_range_months.
Instance Method Summary collapse
Methods inherited from BaseEntity
Methods included from Utils::Variable
Constructor Details
This class inherits a constructor from Awis::Models::BaseEntity
Instance Attribute Details
#rank_delta ⇒ Object
Returns the value of attribute rank_delta.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def rank_delta @rank_delta end |
#rank_value ⇒ Object
Returns the value of attribute rank_value.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def rank_value @rank_value end |
#reach_page_views_per_million_delta ⇒ Object
Returns the value of attribute reach_page_views_per_million_delta.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def reach_page_views_per_million_delta @reach_page_views_per_million_delta end |
#reach_page_views_per_million_value ⇒ Object
Returns the value of attribute reach_page_views_per_million_value.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def reach_page_views_per_million_value @reach_page_views_per_million_value end |
#reach_page_views_per_user_delta ⇒ Object
Returns the value of attribute reach_page_views_per_user_delta.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def reach_page_views_per_user_delta @reach_page_views_per_user_delta end |
#reach_page_views_per_user_value ⇒ Object
Returns the value of attribute reach_page_views_per_user_value.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def reach_page_views_per_user_value @reach_page_views_per_user_value end |
#reach_page_views_rank_delta ⇒ Object
Returns the value of attribute reach_page_views_rank_delta.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def reach_page_views_rank_delta @reach_page_views_rank_delta end |
#reach_page_views_rank_value ⇒ Object
Returns the value of attribute reach_page_views_rank_value.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def reach_page_views_rank_value @reach_page_views_rank_value end |
#reach_per_million_delta ⇒ Object
Returns the value of attribute reach_per_million_delta.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def reach_per_million_delta @reach_per_million_delta end |
#reach_per_million_value ⇒ Object
Returns the value of attribute reach_per_million_value.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def reach_per_million_value @reach_per_million_value end |
#reach_rank_delta ⇒ Object
Returns the value of attribute reach_rank_delta.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def reach_rank_delta @reach_rank_delta end |
#reach_rank_value ⇒ Object
Returns the value of attribute reach_rank_value.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def reach_rank_value @reach_rank_value end |
#time_range_days ⇒ Object
Returns the value of attribute time_range_days.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def time_range_days @time_range_days end |
#time_range_months ⇒ Object
Returns the value of attribute time_range_months.
212 213 214 |
# File 'lib/awis/models/url_info.rb', line 212 def time_range_months @time_range_months end |
Instance Method Details
#range_count ⇒ Object
225 226 227 |
# File 'lib/awis/models/url_info.rb', line 225 def range_count (time_range_months || time_range_days) end |
#range_type ⇒ Object
219 220 221 222 223 |
# File 'lib/awis/models/url_info.rb', line 219 def range_type return 'month' if time_range_months.present? 'day' end |