Class: SteemApi::Comment
- Defined in:
- lib/steem_api/models/comment.rb
Class Method Summary collapse
Methods inherited from SqlBase
Class Method Details
.find_by_author(user) ⇒ Object
6 7 8 |
# File 'lib/steem_api/models/comment.rb', line 6 def self.(user) self.where(author: user) end |
.find_by_parent(user) ⇒ Object
10 11 12 |
# File 'lib/steem_api/models/comment.rb', line 10 def self.find_by_parent(user) self.where(parent_author: user) end |