Class: USaidWat::Client::Redditor
- Inherits:
-
BaseRedditor
- Object
- BaseRedditor
- USaidWat::Client::Redditor
- Defined in:
- lib/usaidwat/client.rb
Instance Attribute Summary
Attributes inherited from BaseRedditor
Instance Method Summary collapse
-
#initialize(username) ⇒ Redditor
constructor
A new instance of Redditor.
Methods inherited from BaseRedditor
#age, #comment_karma, #comments, #created_at, #link_karma, #posts, #to_s
Constructor Details
#initialize(username) ⇒ Redditor
Returns a new instance of Redditor.
71 72 73 74 |
# File 'lib/usaidwat/client.rb', line 71 def initialize(username) @service = USaidWat::Service::RedditService.new super end |