Class: TokyoMetro::App::Renderer::Twitter::Header
- Inherits:
-
Concerns::Header::Content
- Object
- RailsDecorateFactory
- Factory::Decorate::MetaClass
- Concerns::Header::MetaClass
- Concerns::Header::Title
- Concerns::Header::Content
- TokyoMetro::App::Renderer::Twitter::Header
- Defined in:
- lib/tokyo_metro/app/renderer/twitter/header.rb
Instance Method Summary collapse
-
#initialize(request, visibility, icon_size: 2) ⇒ Header
constructor
A new instance of Header.
Methods inherited from Concerns::Header::Content
Methods inherited from Concerns::Header::Title
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_id: :twitter_button , add_update_button: false , update_button_id: nil , additional_content: nil ) end |