Class: TMDb::ProductionCountry
- Defined in:
- lib/tmdb-api/production_country.rb
Instance Attribute Summary collapse
-
#iso_3166_1 ⇒ Object
readonly
Returns the value of attribute iso_3166_1.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#code ⇒ Object
Public: alias for the iso_3166_1 attribute.
Methods inherited from Base
Constructor Details
This class inherits a constructor from TMDb::Base
Instance Attribute Details
#iso_3166_1 ⇒ Object (readonly)
Returns the value of attribute iso_3166_1.
3 4 5 |
# File 'lib/tmdb-api/production_country.rb', line 3 def iso_3166_1 @iso_3166_1 end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/tmdb-api/production_country.rb', line 3 def name @name end |
Instance Method Details
#code ⇒ Object
Public: alias for the iso_3166_1 attribute.
6 7 8 |
# File 'lib/tmdb-api/production_country.rb', line 6 def code @iso_3166_1 end |