Class: Tweetkit::Response::Tweets::Tweet::Attachments
- Inherits:
-
Object
- Object
- Tweetkit::Response::Tweets::Tweet::Attachments
- Defined in:
- lib/tweetkit/response.rb
Instance Attribute Summary collapse
-
#media_keys ⇒ Object
Returns the value of attribute media_keys.
-
#poll_ids ⇒ Object
Returns the value of attribute poll_ids.
Instance Method Summary collapse
-
#initialize(attachments) ⇒ Attachments
constructor
A new instance of Attachments.
Constructor Details
#initialize(attachments) ⇒ Attachments
Returns a new instance of Attachments.
189 190 191 192 193 194 |
# File 'lib/tweetkit/response.rb', line 189 def initialize() return unless @media_keys = ['media_keys'] @poll_ids = ['poll_ids'] end |
Instance Attribute Details
#media_keys ⇒ Object
Returns the value of attribute media_keys.
187 188 189 |
# File 'lib/tweetkit/response.rb', line 187 def media_keys @media_keys end |
#poll_ids ⇒ Object
Returns the value of attribute poll_ids.
187 188 189 |
# File 'lib/tweetkit/response.rb', line 187 def poll_ids @poll_ids end |