Class: TMDb::SpokenLanguage
- Defined in:
- lib/tmdb-api/spoken_language.rb
Instance Attribute Summary collapse
-
#iso_639_1 ⇒ Object
readonly
Returns the value of attribute iso_639_1.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#code ⇒ Object
Public: alias for the iso_639_1 attribute.
Methods inherited from Base
Constructor Details
This class inherits a constructor from TMDb::Base
Instance Attribute Details
#iso_639_1 ⇒ Object (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 |
#name ⇒ Object (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
#code ⇒ Object
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 |