Class: Tweetkit::Response::Tweets::Tweet::Annotations::Entity::Urls
- Inherits:
-
Object
- Object
- Tweetkit::Response::Tweets::Tweet::Annotations::Entity::Urls
- Defined in:
- lib/tweetkit/response.rb
Defined Under Namespace
Classes: Url
Instance Attribute Summary collapse
-
#urls ⇒ Object
Returns the value of attribute urls.
Instance Method Summary collapse
-
#initialize(urls) ⇒ Urls
constructor
A new instance of Urls.
Constructor Details
#initialize(urls) ⇒ Urls
Returns a new instance of Urls.
337 338 339 340 341 |
# File 'lib/tweetkit/response.rb', line 337 def initialize(urls) return unless urls @urls = urls.collect { |url| Url.new(url) } end |
Instance Attribute Details
#urls ⇒ Object
Returns the value of attribute urls.
335 336 337 |
# File 'lib/tweetkit/response.rb', line 335 def urls @urls end |