Class: SyoboiCalendar::Resources::Title
- Inherits:
-
Base
- Object
- Base
- SyoboiCalendar::Resources::Title
show all
- Defined in:
- lib/syoboi_calendar/resources/title.rb
Instance Attribute Summary
Attributes inherited from Base
#response
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #updated_at
Instance Method Details
#category_id ⇒ Object
4
5
6
|
# File 'lib/syoboi_calendar/resources/title.rb', line 4
def category_id
response.Cat.try(:to_i)
end
|
8
9
10
|
# File 'lib/syoboi_calendar/resources/title.rb', line 8
def
response.Comment
end
|
#english_name ⇒ Object
52
53
54
|
# File 'lib/syoboi_calendar/resources/title.rb', line 52
def english_name
response.TitleEN
end
|
#first_channel ⇒ Object
12
13
14
|
# File 'lib/syoboi_calendar/resources/title.rb', line 12
def first_channel
response.FirstCh
end
|
#first_end_month ⇒ Object
16
17
18
|
# File 'lib/syoboi_calendar/resources/title.rb', line 16
def first_end_month
response.FirstEndMonth.try(:to_i)
end
|
#first_end_year ⇒ Object
20
21
22
|
# File 'lib/syoboi_calendar/resources/title.rb', line 20
def first_end_year
response.FirstEndYear.try(:to_i)
end
|
#first_month ⇒ Object
24
25
26
|
# File 'lib/syoboi_calendar/resources/title.rb', line 24
def first_month
response.FirstMonth.try(:to_i)
end
|
#first_year ⇒ Object
28
29
30
|
# File 'lib/syoboi_calendar/resources/title.rb', line 28
def first_year
response.FirstYear.try(:to_i)
end
|
#flag ⇒ Object
56
57
58
|
# File 'lib/syoboi_calendar/resources/title.rb', line 56
def flag
response.TitleFlag.try(:to_i)
end
|
#id ⇒ Object
44
45
46
|
# File 'lib/syoboi_calendar/resources/title.rb', line 44
def id
response.TID.try(:to_i)
end
|
#kana ⇒ Object
60
61
62
|
# File 'lib/syoboi_calendar/resources/title.rb', line 60
def kana
response.TitleYomi
end
|
#keywords ⇒ Object
32
33
34
|
# File 'lib/syoboi_calendar/resources/title.rb', line 32
def keywords
response.Keywords
end
|
#name ⇒ Object
48
49
50
|
# File 'lib/syoboi_calendar/resources/title.rb', line 48
def name
response.Title
end
|
#point ⇒ Object
64
65
66
|
# File 'lib/syoboi_calendar/resources/title.rb', line 64
def point
response.UserPoint.try(:to_i)
end
|
#rank ⇒ Object
68
69
70
|
# File 'lib/syoboi_calendar/resources/title.rb', line 68
def rank
response.UserPointRank.try(:to_i)
end
|
#short_title ⇒ Object
36
37
38
|
# File 'lib/syoboi_calendar/resources/title.rb', line 36
def short_title
response.ShortTitle
end
|
#sub_titles ⇒ Object
40
41
42
|
# File 'lib/syoboi_calendar/resources/title.rb', line 40
def sub_titles
response.SubTitles
end
|