class SteemApi::Comment

Public Class Methods

find_by_author(author) click to toggle source
# File lib/steem_api/models/comment.rb, line 69
def self.find_by_author(author)
  where(author: author).first
end
find_by_parent(parent_author) click to toggle source
# File lib/steem_api/models/comment.rb, line 73
def self.find_by_parent(parent_author)
  where(parent_author: parent_author).first
end

Public Instance Methods

beneficiaries() click to toggle source
# File lib/steem_api/models/comment.rb, line 81
def beneficiaries
  JSON[self[:beneficiaries]]
end
tag_names() click to toggle source
# File lib/steem_api/models/comment.rb, line 85
def tag_names
  tags.pluck(:tag)
end