Class: Tinybucket::Parser::PullRequestsParser
- Inherits:
-
BaseParser
- Object
- FaradayMiddleware::ResponseMiddleware
- BaseParser
- Tinybucket::Parser::PullRequestsParser
- Defined in:
- lib/tinybucket/parser/pull_requests_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/pull_requests_parser.rb', line 6 def convert(json) Tinybucket::Model::Page.new( json, Tinybucket::Model::PullRequest ) end |