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