Class: Twitter::Action::Tweet
- Inherits:
-
Base
- Object
- Base
- Twitter::Action::Tweet
- Includes:
- Creatable
- Defined in:
- lib/hackeroo/action/tweet.rb
Instance Attribute Summary collapse
-
#max_position ⇒ Object
readonly
Returns the value of attribute max_position.
-
#min_position ⇒ Object
readonly
Returns the value of attribute min_position.
Instance Method Summary collapse
Instance Attribute Details
#max_position ⇒ Object (readonly)
Returns the value of attribute max_position.
8 9 10 |
# File 'lib/hackeroo/action/tweet.rb', line 8 def max_position @max_position end |
#min_position ⇒ Object (readonly)
Returns the value of attribute min_position.
8 9 10 |
# File 'lib/hackeroo/action/tweet.rb', line 8 def min_position @min_position end |
Instance Method Details
#sources ⇒ Array<Twitter::User>
11 12 13 14 15 |
# File 'lib/hackeroo/action/tweet.rb', line 11 def sources @sources = Array(@attrs[:sources]).map do |user| Twitter::User.fetch_or_new(user) end end |