Class: Plexify::Media

Inherits:
Object
  • Object
show all
Defined in:
lib/plexify/media.rb

Overview

Media class Will include more methods to test media data

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject

Returns the value of attribute data.



5
6
7
# File 'lib/plexify/media.rb', line 5

def data
  @data
end

#found_titleObject

Returns the value of attribute found_title.



6
7
8
# File 'lib/plexify/media.rb', line 6

def found_title
  @found_title
end

#scoreObject

Returns the value of attribute score.



7
8
9
# File 'lib/plexify/media.rb', line 7

def score
  @score
end