Class: StoryEntry
- Inherits:
-
Object
- Object
- StoryEntry
- Includes:
- SAXMachine
- Defined in:
- lib/inews_client/story_entry.rb
Instance Method Summary collapse
Instance Method Details
#field_content ⇒ Object
18 19 20 |
# File 'lib/inews_client/story_entry.rb', line 18 def field_content self.app_id end |
#fired? ⇒ Boolean
10 11 12 |
# File 'lib/inews_client/story_entry.rb', line 10 def fired? self.air_date != "0" && self.air_date end |
#id ⇒ Object
14 15 16 |
# File 'lib/inews_client/story_entry.rb', line 14 def id app_id.split('-').last if app_id end |