Class: Sentiero::Web::Views::ExportView
- Defined in:
- lib/sentiero/web/views/export_view.rb
Constant Summary
Constants inherited from BaseView
BaseView::TEMPLATES_DIR, BaseView::TEMPLATE_CACHE
Constants included from Escaping
Escaping::HTML_UNSAFE_IN_SCRIPT, Escaping::HTML_UNSAFE_IN_SCRIPT_PATTERN
Instance Attribute Summary collapse
-
#datasets ⇒ Object
readonly
Returns the value of attribute datasets.
-
#shareable_replays ⇒ Object
readonly
Returns the value of attribute shareable_replays.
-
#since ⇒ Object
readonly
Returns the value of attribute since.
-
#until_str ⇒ Object
readonly
Returns the value of attribute until_str.
Attributes inherited from BaseView
Instance Method Summary collapse
-
#initialize(shareable_replays:, since:, until_str:, datasets:) ⇒ ExportView
constructor
A new instance of ExportView.
- #template ⇒ Object
Methods inherited from BaseView
#built_asset, compiled_template, #escape_js, #h, #range_pairs, #render, #render_layout, #render_partial, #render_session_row
Methods included from Formatting
#format_duration, #format_vital, #parse_browser, #parse_device
Methods included from Escaping
#escape_html, #escape_js_string, #escape_json
Constructor Details
#initialize(shareable_replays:, since:, until_str:, datasets:) ⇒ ExportView
Returns a new instance of ExportView.
9 10 11 12 13 14 15 |
# File 'lib/sentiero/web/views/export_view.rb', line 9 def initialize(shareable_replays:, since:, until_str:, datasets:) super() @shareable_replays = shareable_replays @since = since @until_str = until_str @datasets = datasets end |
Instance Attribute Details
#datasets ⇒ Object (readonly)
Returns the value of attribute datasets.
17 18 19 |
# File 'lib/sentiero/web/views/export_view.rb', line 17 def datasets @datasets end |
#shareable_replays ⇒ Object (readonly)
Returns the value of attribute shareable_replays.
17 18 19 |
# File 'lib/sentiero/web/views/export_view.rb', line 17 def shareable_replays @shareable_replays end |
#since ⇒ Object (readonly)
Returns the value of attribute since.
17 18 19 |
# File 'lib/sentiero/web/views/export_view.rb', line 17 def since @since end |
#until_str ⇒ Object (readonly)
Returns the value of attribute until_str.
17 18 19 |
# File 'lib/sentiero/web/views/export_view.rb', line 17 def until_str @until_str end |
Instance Method Details
#template ⇒ Object
19 |
# File 'lib/sentiero/web/views/export_view.rb', line 19 def template = "export_index.html.erb" |