class Title

Attributes

description[RW]
id[RW]
image_url[RW]
name[RW]

Public Class Methods

new(name, description, image_url, link) click to toggle source
# File lib/ruby_legendas_tv/title.rb, line 4
def initialize(name, description, image_url, link)
  @name = name
  @description = description
  @image_url = image_url
  @id = link.split('/').last.split(':').last
  @link = link
end