Class: Hyrax::StatsUsagePresenter Abstract
- Inherits:
-
Object
- Object
- Hyrax::StatsUsagePresenter
- Defined in:
- app/presenters/hyrax/stats_usage_presenter.rb
Overview
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#model ⇒ Object
Returns the value of attribute model.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'app/presenters/hyrax/stats_usage_presenter.rb', line 6 def id @id end |
#model ⇒ Object
Returns the value of attribute model.
6 7 8 |
# File 'app/presenters/hyrax/stats_usage_presenter.rb', line 6 def model @model end |
Instance Method Details
#created ⇒ Object
8 9 10 |
# File 'app/presenters/hyrax/stats_usage_presenter.rb', line 8 def created @created ||= date_for_analytics end |