Class: Header
- Inherits:
-
Object
- Object
- Header
- Defined in:
- lib/nexmo_developer/app/presenters/header.rb
Instance Method Summary collapse
-
#initialize ⇒ Header
constructor
A new instance of Header.
- #sign_in_path ⇒ Object
- #sign_in_text ⇒ Object
- #sign_up_path ⇒ Object
- #sign_up_text ⇒ Object
Constructor Details
#initialize ⇒ Header
Returns a new instance of Header.
2 3 4 |
# File 'lib/nexmo_developer/app/presenters/header.rb', line 2 def initialize after_initialize! end |
Instance Method Details
#sign_in_path ⇒ Object
14 15 16 |
# File 'lib/nexmo_developer/app/presenters/header.rb', line 14 def sign_in_path @sign_in_path ||= config['header']['links']['sign-in']['path'] end |
#sign_in_text ⇒ Object
18 19 20 |
# File 'lib/nexmo_developer/app/presenters/header.rb', line 18 def sign_in_text @sign_in_text ||= config['header']['links']['sign-in']['text'] end |
#sign_up_path ⇒ Object
6 7 8 |
# File 'lib/nexmo_developer/app/presenters/header.rb', line 6 def sign_up_path @sign_up_path ||= config['header']['links']['sign-up']['path'] end |
#sign_up_text ⇒ Object
10 11 12 |
# File 'lib/nexmo_developer/app/presenters/header.rb', line 10 def sign_up_text @sign_up_text ||= config['header']['links']['sign-up']['text'] end |