Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/tvdb_party/series.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module TvdbParty
class Series
attr_reader :client
attr_accessor :id, :name, :overview, :seasons, :first_aired, :genres, :network, :rating, :runtime,
:actors, :banners, :air_time, :imdb_id
:actors, :banners, :air_time, :imdb_id, :status, :air_day

def initialize(client, options={})
@client = client
Expand All @@ -13,6 +13,8 @@ def initialize(client, options={})
@runtime = options["Runtime"]
@air_time = options['Airs_Time'] if options['Airs_Time']
@imdb_id = options["IMDB_ID"]
@status = options["Status"]
@air_day = options["Airs_DayOfWeek"]

if options["Genre"]
@genres = options["Genre"][1..-1].split("|")
Expand Down