Class: Tinybucket::Parser::CommentsParser

Inherits:
BaseParser
  • Object
show all
Defined in:
lib/tinybucket/parser/comments_parser.rb

Instance Method Summary collapse

Methods inherited from BaseParser

#parse_response?, #process_response

Instance Method Details

#convert(json) ⇒ Object



6
7
8
9
10
# File 'lib/tinybucket/parser/comments_parser.rb', line 6

def convert(json)
  Tinybucket::Model::Page.new(
    json, Tinybucket::Model::Comment
  )
end