Class: TMDb::ProductionCountry

Inherits:
Base
  • Object
show all
Defined in:
lib/tmdb-api/production_country.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_3166_1Object (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

#nameObject (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

#codeObject

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