Class: Plexify::Media
- Inherits:
-
Object
- Object
- Plexify::Media
- Defined in:
- lib/plexify/media.rb
Overview
Media class Will include more methods to test media data
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#found_title ⇒ Object
Returns the value of attribute found_title.
-
#score ⇒ Object
Returns the value of attribute score.
Instance Method Summary collapse
-
#initialize(data) ⇒ Media
constructor
A new instance of Media.
Constructor Details
#initialize(data) ⇒ Media
Returns a new instance of Media.
9 10 11 |
# File 'lib/plexify/media.rb', line 9 def initialize(data) @data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
5 6 7 |
# File 'lib/plexify/media.rb', line 5 def data @data end |
#found_title ⇒ Object
Returns the value of attribute found_title.
6 7 8 |
# File 'lib/plexify/media.rb', line 6 def found_title @found_title end |
#score ⇒ Object
Returns the value of attribute score.
7 8 9 |
# File 'lib/plexify/media.rb', line 7 def score @score end |