Class: Tweetkit::Response::Tweets::Expansions::Users
- Inherits:
-
Object
- Object
- Tweetkit::Response::Tweets::Expansions::Users
- Defined in:
- lib/tweetkit/response.rb
Defined Under Namespace
Classes: User
Instance Attribute Summary collapse
-
#users ⇒ Object
Returns the value of attribute users.
Instance Method Summary collapse
-
#initialize(users) ⇒ Users
constructor
A new instance of Users.
Constructor Details
#initialize(users) ⇒ Users
Returns a new instance of Users.
529 530 531 532 533 |
# File 'lib/tweetkit/response.rb', line 529 def initialize(users) return unless users @users = users.collect { |user| User.new(user) } end |
Instance Attribute Details
#users ⇒ Object
Returns the value of attribute users.
527 528 529 |
# File 'lib/tweetkit/response.rb', line 527 def users @users end |