Class: AblyUi::Core::SignOutLink
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- AblyUi::Core::SignOutLink
- Includes:
- Util
- Defined in:
- lib/ably_ui/core/sign_out_link/sign_out_link.rb
Constant Summary
Constants included from Util
Instance Attribute Summary collapse
-
#url_base ⇒ Object
readonly
Returns the value of attribute url_base.
Instance Method Summary collapse
-
#initialize(session_data: {}, classes: [], url_base:) ⇒ SignOutLink
constructor
A new instance of SignOutLink.
Methods included from Util
#abs_url, #append_random_postfix
Constructor Details
#initialize(session_data: {}, classes: [], url_base:) ⇒ SignOutLink
Returns a new instance of SignOutLink.
10 11 12 13 14 |
# File 'lib/ably_ui/core/sign_out_link/sign_out_link.rb', line 10 def initialize(session_data: {}, classes: [], url_base:) @session_data = session_data @classes = classes @url_base = url_base end |
Instance Attribute Details
#url_base ⇒ Object (readonly)
Returns the value of attribute url_base.
8 9 10 |
# File 'lib/ably_ui/core/sign_out_link/sign_out_link.rb', line 8 def url_base @url_base end |