Class: YouTube::ThumbnailPanelState::Summary

Inherits:
Struct
  • Object
show all
Defined in:
app/services/youtube/thumbnail_panel_state.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#error_messageObject

Returns the value of attribute error_message

Returns:

  • (Object)

    the current value of error_message



6
7
8
# File 'app/services/youtube/thumbnail_panel_state.rb', line 6

def error_message
  @error_message
end

#heatwave_urlObject

Returns the value of attribute heatwave_url

Returns:

  • (Object)

    the current value of heatwave_url



6
7
8
# File 'app/services/youtube/thumbnail_panel_state.rb', line 6

def heatwave_url
  @heatwave_url
end

#remote_stateObject

Returns the value of attribute remote_state

Returns:

  • (Object)

    the current value of remote_state



6
7
8
# File 'app/services/youtube/thumbnail_panel_state.rb', line 6

def remote_state
  @remote_state
end

#youtube_best_urlObject

Returns the value of attribute youtube_best_url

Returns:

  • (Object)

    the current value of youtube_best_url



6
7
8
# File 'app/services/youtube/thumbnail_panel_state.rb', line 6

def youtube_best_url
  @youtube_best_url
end

Instance Method Details

#remote_failed?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'app/services/youtube/thumbnail_panel_state.rb', line 15

def remote_failed?
  remote_state == :failed
end

#remote_loaded?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'app/services/youtube/thumbnail_panel_state.rb', line 7

def remote_loaded?
  remote_state == :loaded
end

#remote_skipped?Boolean

Returns:

  • (Boolean)


11
12
13
# File 'app/services/youtube/thumbnail_panel_state.rb', line 11

def remote_skipped?
  remote_state == :skipped
end