Class: Awis::Models::UsageStatistic

Inherits:
BaseEntity show all
Defined in:
lib/awis/models/url_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseEntity

#initialize

Methods included from Utils::Variable

#custom_instance_variables

Constructor Details

This class inherits a constructor from Awis::Models::BaseEntity

Instance Attribute Details

#page_views_per_million_deltaObject

Returns the value of attribute page_views_per_million_delta.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def page_views_per_million_delta
  @page_views_per_million_delta
end

#page_views_per_million_valueObject

Returns the value of attribute page_views_per_million_value.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def page_views_per_million_value
  @page_views_per_million_value
end

#page_views_per_user_deltaObject

Returns the value of attribute page_views_per_user_delta.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def page_views_per_user_delta
  @page_views_per_user_delta
end

#page_views_per_user_valueObject

Returns the value of attribute page_views_per_user_value.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def page_views_per_user_value
  @page_views_per_user_value
end

#page_views_rank_deltaObject

Returns the value of attribute page_views_rank_delta.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def page_views_rank_delta
  @page_views_rank_delta
end

#page_views_rank_valueObject

Returns the value of attribute page_views_rank_value.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def page_views_rank_value
  @page_views_rank_value
end

#rank_deltaObject

Returns the value of attribute rank_delta.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def rank_delta
  @rank_delta
end

#rank_valueObject

Returns the value of attribute rank_value.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def rank_value
  @rank_value
end

#reach_per_million_deltaObject

Returns the value of attribute reach_per_million_delta.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def reach_per_million_delta
  @reach_per_million_delta
end

#reach_per_million_valueObject

Returns the value of attribute reach_per_million_value.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def reach_per_million_value
  @reach_per_million_value
end

#reach_rank_deltaObject

Returns the value of attribute reach_rank_delta.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def reach_rank_delta
  @reach_rank_delta
end

#reach_rank_valueObject

Returns the value of attribute reach_rank_value.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def reach_rank_value
  @reach_rank_value
end

#time_range_daysObject

Returns the value of attribute time_range_days.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def time_range_days
  @time_range_days
end

#time_range_monthsObject

Returns the value of attribute time_range_months.



366
367
368
# File 'lib/awis/models/url_info.rb', line 366

def time_range_months
  @time_range_months
end

Instance Method Details

#range_countObject



379
380
381
# File 'lib/awis/models/url_info.rb', line 379

def range_count
  (time_range_months || time_range_days)
end

#range_typeObject



373
374
375
376
377
# File 'lib/awis/models/url_info.rb', line 373

def range_type
  return 'month' unless time_range_months.nil? || time_range_months.empty?

  'day'
end