Class: TokyoMetro::App::Renderer::Twitter::Header

Inherits:
Concerns::Header::Content show all
Includes:
Concerns::Header::Content::SizeChangingButtonType
Defined in:
lib/tokyo_metro/app/renderer/twitter/header.rb

Instance Method Summary collapse

Methods inherited from Concerns::Header::Content

#render

Methods inherited from Concerns::Header::Title

#render

Constructor Details

#initialize(request, visibility, icon_size: 2) ⇒ Header

Returns a new instance of Header.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/tokyo_metro/app/renderer/twitter/header.rb', line 5

def initialize( request , visibility , icon_size: 2 )
  @visibility = visibility
  super(
    request ,
    :twitter_header ,
    :twitter_square ,
    "" ,
    "Twitter" ,
    icon_size: icon_size ,
    size_changing_button_type: size_changing_button_type ,
    size_changing_button_id: :twitter_button ,
    add_update_button: false ,
    update_button_id: nil ,
    additional_content: nil
  )
end