class SyoboiCalendar::Resources::TitleResource
Public Instance Methods
casts()
click to toggle source
@return [Array<SyoboiCalendar::Personality>]
# File lib/syoboi_calendar/resources/title_resource.rb, line 23 def casts if comment comment.casts else [] end end
category_id()
click to toggle source
@note
0: その他 1: アニメ 2: ラジオ 3: テレビ 4: 特撮 5: アニメ関連 6: メモ 7: OVA 8: 映画 10: アニメ(終了/再放送)
@return [Integer, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 16 def category_id if source["Cat"] source["Cat"].to_i end end
comment()
click to toggle source
@return [SyoboiCalendar::Comment, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 32 def comment if source["Comment"] ::SyoboiCalendar::Comment.new(source["Comment"]) end end
english_name()
click to toggle source
@return [String, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 39 def english_name source["TitleEN"] end
first_channel()
click to toggle source
@return [String, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 44 def first_channel source["FirstCh"] end
first_end_month()
click to toggle source
@return [Integer, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 49 def first_end_month if source["FirstEndMonth"] source["FirstEndMonth"].to_i end end
first_end_year()
click to toggle source
@return [Integer, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 56 def first_end_year if source["FirstEndYear"] source["FirstEndYear"].to_i end end
first_month()
click to toggle source
@return [Integer, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 63 def first_month if source["FirstMonth"] source["FirstMonth"].to_i end end
first_year()
click to toggle source
@return [Integer, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 70 def first_year if source["FirstYear"] source["FirstYear"].to_i end end
flag()
click to toggle source
@return [Integer, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 77 def flag if source["TitleFlag"] source["TitleFlag"].to_i end end
id()
click to toggle source
@return [Integer, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 84 def id if source["TID"] source["TID"].to_i end end
kana()
click to toggle source
@return [String, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 91 def kana source["TitleYomi"] end
keywords()
click to toggle source
@return [String, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 96 def keywords source["Keywords"] end
name()
click to toggle source
@return [String, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 101 def name source["Title"] end
short_title()
click to toggle source
@return [String, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 142 def short_title source["ShortTitle"] end
songs_ending()
click to toggle source
@return [Array<SyoboiCalendar::Song>]
# File lib/syoboi_calendar/resources/title_resource.rb, line 106 def songs_ending if comment comment.songs_ending else [] end end
songs_inserted()
click to toggle source
@return [Array<SyoboiCalendar::Song>]
# File lib/syoboi_calendar/resources/title_resource.rb, line 115 def songs_inserted if comment comment.songs_inserted else [] end end
songs_opening()
click to toggle source
@return [Array<SyoboiCalendar::Song>]
# File lib/syoboi_calendar/resources/title_resource.rb, line 124 def songs_opening if comment comment.songs_opening else [] end end
songs_theme()
click to toggle source
@return [Array<SyoboiCalendar::Song>]
# File lib/syoboi_calendar/resources/title_resource.rb, line 133 def songs_theme if comment comment.songs_theme else [] end end
staffs()
click to toggle source
@return [Array<SyoboiCalendar::Personality>]
# File lib/syoboi_calendar/resources/title_resource.rb, line 147 def staffs if comment comment.staffs else [] end end
sub_titles()
click to toggle source
@return [String, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 156 def sub_titles source["SubTitles"] end
user_point()
click to toggle source
@return [Integer, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 161 def user_point if source["UserPoint"] source["UserPoint"].to_i end end
user_point_rank()
click to toggle source
@return [Integer, nil]
# File lib/syoboi_calendar/resources/title_resource.rb, line 168 def user_point_rank if source["UserPointRank"] source["UserPointRank"].to_i end end