Class: Tinybucket::Parser::BranchRestrictionParser

Inherits:
BaseParser
  • Object
show all
Defined in:
lib/tinybucket/parser/branch_restriction_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/branch_restriction_parser.rb', line 6

def convert(json)
  Tinybucket::Model::BranchRestriction.new(
    json
  )
end