Class: TMDb::NullPerson
- Inherits:
-
Object
- Object
- TMDb::NullPerson
- Defined in:
- lib/tmdb/null_person.rb
Overview
This class is a Null Object version of the Person
class.
Instance Attribute Summary collapse
-
#adult ⇒ Object
Returns the value of attribute adult.
-
#also_known_as ⇒ Object
Returns the value of attribute also_known_as.
-
#biography ⇒ Object
Returns the value of attribute biography.
-
#birthday ⇒ Object
Returns the value of attribute birthday.
-
#deathday ⇒ Object
Returns the value of attribute deathday.
-
#homepage ⇒ Object
Returns the value of attribute homepage.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#place_of_birth ⇒ Object
Returns the value of attribute place_of_birth.
- #profile_image_url(size) ⇒ Object
-
#profile_path ⇒ Object
Returns the value of attribute profile_path.
Instance Attribute Details
#adult ⇒ Object
Returns the value of attribute adult.
6 7 8 |
# File 'lib/tmdb/null_person.rb', line 6 def adult @adult end |
#also_known_as ⇒ Object
Returns the value of attribute also_known_as.
6 7 8 |
# File 'lib/tmdb/null_person.rb', line 6 def also_known_as @also_known_as end |
#biography ⇒ Object
Returns the value of attribute biography.
6 7 8 |
# File 'lib/tmdb/null_person.rb', line 6 def biography @biography end |
#birthday ⇒ Object
Returns the value of attribute birthday.
6 7 8 |
# File 'lib/tmdb/null_person.rb', line 6 def birthday @birthday end |
#deathday ⇒ Object
Returns the value of attribute deathday.
6 7 8 |
# File 'lib/tmdb/null_person.rb', line 6 def deathday @deathday end |
#homepage ⇒ Object
Returns the value of attribute homepage.
6 7 8 |
# File 'lib/tmdb/null_person.rb', line 6 def homepage @homepage end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/tmdb/null_person.rb', line 6 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/tmdb/null_person.rb', line 6 def name @name end |
#place_of_birth ⇒ Object
Returns the value of attribute place_of_birth.
6 7 8 |
# File 'lib/tmdb/null_person.rb', line 6 def place_of_birth @place_of_birth end |
#profile_image_url(size) ⇒ Object
11 12 13 |
# File 'lib/tmdb/null_person.rb', line 11 def profile_image_url(size) @profile_image_url end |
#profile_path ⇒ Object
Returns the value of attribute profile_path.
6 7 8 |
# File 'lib/tmdb/null_person.rb', line 6 def profile_path @profile_path end |