Class: Flumtter::TimeLine::Quote
- Inherits:
-
Event
show all
- Defined in:
- lib/flumtter/app/plugins/timeline/tweet.rb
Instance Method Summary
collapse
Methods inherited from Event
#header
Methods inherited from Base
[], #initialize, #to_s
Methods included from Util
#command_value_regexp, #dialog_for_index, #error, #error_handler, #id2obj, #if_tweet, #index_regexp, #index_with_dialog, #logger, #on_event, #parse_index, #parse_time, #sarastire, #sarastire_user, #screen_name_regexp
Instance Method Details
#color ⇒ Object
46
47
48
|
# File 'lib/flumtter/app/plugins/timeline/tweet.rb', line 46
def color
Setting.dig(:color, :timeline, :quote) || :white
end
|
#info ⇒ Object
42
43
44
|
# File 'lib/flumtter/app/plugins/timeline/tweet.rb', line 42
def info
@object.quoted_status.
end
|
#source_user ⇒ Object
38
39
40
|
# File 'lib/flumtter/app/plugins/timeline/tweet.rb', line 38
def source_user
@object.user.screen_name
end
|