Class: TMDb::NullPerson

Inherits:
Object
  • Object
show all
Defined in:
lib/tmdb/null_person.rb

Overview

This class is a Null Object version of the Person class.

Instance Attribute Summary collapse

Instance Attribute Details

#adultObject

Returns the value of attribute adult.



6
7
8
# File 'lib/tmdb/null_person.rb', line 6

def adult
  @adult
end

#also_known_asObject

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

#biographyObject

Returns the value of attribute biography.



6
7
8
# File 'lib/tmdb/null_person.rb', line 6

def biography
  @biography
end

#birthdayObject

Returns the value of attribute birthday.



6
7
8
# File 'lib/tmdb/null_person.rb', line 6

def birthday
  @birthday
end

#deathdayObject

Returns the value of attribute deathday.



6
7
8
# File 'lib/tmdb/null_person.rb', line 6

def deathday
  @deathday
end

#homepageObject

Returns the value of attribute homepage.



6
7
8
# File 'lib/tmdb/null_person.rb', line 6

def homepage
  @homepage
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/tmdb/null_person.rb', line 6

def id
  @id
end

#nameObject

Returns the value of attribute name.



6
7
8
# File 'lib/tmdb/null_person.rb', line 6

def name
  @name
end

#place_of_birthObject

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_pathObject

Returns the value of attribute profile_path.



6
7
8
# File 'lib/tmdb/null_person.rb', line 6

def profile_path
  @profile_path
end