Class: FacebookVideo::NotWorkingVideo
- Inherits:
-
Object
- Object
- FacebookVideo::NotWorkingVideo
- Defined in:
- lib/facebook_video.rb
Overview
Dummy video object containing info about error We will not return (or raise) errors - it is not deseable
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
-
#initialize(error) ⇒ NotWorkingVideo
constructor
A new instance of NotWorkingVideo.
- #name ⇒ Object
- #url ⇒ Object
- #working? ⇒ Boolean
Constructor Details
#initialize(error) ⇒ NotWorkingVideo
Returns a new instance of NotWorkingVideo.
31 32 33 |
# File 'lib/facebook_video.rb', line 31 def initialize(error) @error = error end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
29 30 31 |
# File 'lib/facebook_video.rb', line 29 def error @error end |
Instance Method Details
#name ⇒ Object
39 40 41 |
# File 'lib/facebook_video.rb', line 39 def name @error end |
#url ⇒ Object
35 36 37 |
# File 'lib/facebook_video.rb', line 35 def url @error end |
#working? ⇒ Boolean
43 44 45 |
# File 'lib/facebook_video.rb', line 43 def working? false end |