Class: YouTube::ThumbnailPanelState::Summary
- Inherits:
-
Struct
- Object
- Struct
- YouTube::ThumbnailPanelState::Summary
- Defined in:
- app/services/youtube/thumbnail_panel_state.rb
Overview
Service object: summary.
Instance Attribute Summary collapse
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#heatwave_url ⇒ Object
Returns the value of attribute heatwave_url.
-
#remote_state ⇒ Object
Returns the value of attribute remote_state.
-
#youtube_best_url ⇒ Object
Returns the value of attribute youtube_best_url.
Instance Method Summary collapse
Instance Attribute Details
#error_message ⇒ Object
Returns the value of attribute error_message
7 8 9 |
# File 'app/services/youtube/thumbnail_panel_state.rb', line 7 def @error_message end |
#heatwave_url ⇒ Object
Returns the value of attribute heatwave_url
7 8 9 |
# File 'app/services/youtube/thumbnail_panel_state.rb', line 7 def heatwave_url @heatwave_url end |
#remote_state ⇒ Object
Returns the value of attribute remote_state
7 8 9 |
# File 'app/services/youtube/thumbnail_panel_state.rb', line 7 def remote_state @remote_state end |
#youtube_best_url ⇒ Object
Returns the value of attribute youtube_best_url
7 8 9 |
# File 'app/services/youtube/thumbnail_panel_state.rb', line 7 def youtube_best_url @youtube_best_url end |
Instance Method Details
#remote_failed? ⇒ Boolean
16 17 18 |
# File 'app/services/youtube/thumbnail_panel_state.rb', line 16 def remote_failed? remote_state == :failed end |
#remote_loaded? ⇒ Boolean
8 9 10 |
# File 'app/services/youtube/thumbnail_panel_state.rb', line 8 def remote_loaded? remote_state == :loaded end |
#remote_skipped? ⇒ Boolean
12 13 14 |
# File 'app/services/youtube/thumbnail_panel_state.rb', line 12 def remote_skipped? remote_state == :skipped end |