Sha256: b387ff6bc620f0f21072e7cbafa3ded1a4df612cef81c53f807a40a2b9007723
Contents?: true
Size: 355 Bytes
Versions: 11
Compression:
Stored size: 355 Bytes
Contents
module TvdbParty class Actor attr_accessor :id, :name, :role, :image def initialize(options={}) @id = options["id"] @name = options["Name"] @role = options["Role"] @image = options["Image"] end def image_url return nil unless @image "http://thetvdb.com/banners/" + @image end end end
Version data entries
11 entries across 11 versions & 1 rubygems