Class: Renalware::Accesses::ProfilePresenter
Instance Method Summary
collapse
#inspect, #public_send, #send, #try, #try!
Instance Method Details
6
7
8
|
# File 'app/presenters/renalware/accesses/profile_presenter.rb', line 6
def formed_on
::I18n.l(super)
end
|
#plan_date ⇒ Object
26
27
28
|
# File 'app/presenters/renalware/accesses/profile_presenter.rb', line 26
def plan_date
current_plan.created_at
end
|
#plan_type ⇒ Object
22
23
24
|
# File 'app/presenters/renalware/accesses/profile_presenter.rb', line 22
def plan_type
current_plan.plan_type.to_s
end
|
#side ⇒ Object
18
19
20
|
# File 'app/presenters/renalware/accesses/profile_presenter.rb', line 18
def side
super.try(:text)
end
|
#started_on ⇒ Object
10
11
12
|
# File 'app/presenters/renalware/accesses/profile_presenter.rb', line 10
def started_on
::I18n.l(super)
end
|
#terminated_on ⇒ Object
14
15
16
|
# File 'app/presenters/renalware/accesses/profile_presenter.rb', line 14
def terminated_on
::I18n.l(super)
end
|