Class: TMDb::SpokenLanguage

Inherits:
Base
  • Object
show all
Defined in:
lib/tmdb-api/spoken_language.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

bad_response, #initialize

Constructor Details

This class inherits a constructor from TMDb::Base

Instance Attribute Details

#iso_639_1Object (readonly)

Returns the value of attribute iso_639_1.



3
4
5
# File 'lib/tmdb-api/spoken_language.rb', line 3

def iso_639_1
  @iso_639_1
end

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/tmdb-api/spoken_language.rb', line 3

def name
  @name
end

Instance Method Details

#codeObject

Public: alias for the iso_639_1 attribute.



6
7
8
# File 'lib/tmdb-api/spoken_language.rb', line 6

def code
  @iso_639_1
end