Class: SyoboiCalendar::Resources::TitleResource
Instance Attribute Summary
Attributes inherited from BaseResource
#response
Instance Method Summary
collapse
#initialize, #updated_at
Instance Method Details
#category_id ⇒ Integer?
Note:
0: その他1: アニメ2: ラジオ3: テレビ4: 特撮5: アニメ関連6: メモ7: OVA 8: 映画
10: アニメ(終了/再放送)
16
17
18
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 16
def category_id
response.Cat.try(:to_i)
end
|
21
22
23
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 21
def
response.Comment
end
|
#english_name ⇒ String?
26
27
28
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 26
def english_name
response.TitleEN
end
|
#first_channel ⇒ String?
31
32
33
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 31
def first_channel
response.FirstCh
end
|
#first_end_month ⇒ Integer?
36
37
38
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 36
def first_end_month
response.FirstEndMonth.try(:to_i)
end
|
#first_end_year ⇒ Integer?
41
42
43
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 41
def first_end_year
response.FirstEndYear.try(:to_i)
end
|
#first_month ⇒ Integer?
46
47
48
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 46
def first_month
response.FirstMonth.try(:to_i)
end
|
#first_year ⇒ Integer?
51
52
53
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 51
def first_year
response.FirstYear.try(:to_i)
end
|
#flag ⇒ Integer?
66
67
68
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 66
def flag
response.TitleFlag.try(:to_i)
end
|
#id ⇒ Integer?
56
57
58
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 56
def id
response.TID.try(:to_i)
end
|
#kana ⇒ String?
71
72
73
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 71
def kana
response.TitleYomi
end
|
#keywords ⇒ String?
76
77
78
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 76
def keywords
response.Keywords
end
|
#name ⇒ String?
61
62
63
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 61
def name
response.Title
end
|
#point ⇒ Integer?
91
92
93
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 91
def point
response.UserPoint.try(:to_i)
end
|
#rank ⇒ Integer?
96
97
98
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 96
def rank
response.UserPointRank.try(:to_i)
end
|
#short_title ⇒ String?
81
82
83
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 81
def short_title
response.ShortTitle
end
|
#sub_titles ⇒ String?
86
87
88
|
# File 'lib/syoboi_calendar/resources/title_resource.rb', line 86
def sub_titles
response.SubTitles
end
|