<s> from libsaas import http , parsers <EOL> from libsaas . services import base <EOL> from . import resource <EOL> class RepoHooksBase ( resource . GitHubResource ) : <EOL> path = '<STR_LIT>' <EOL> class RepoHook ( RepoHooksBase ) : <EOL> @ base . apimethod <EOL> def test ( self ) : <EOL> """<STR_LIT>""" <EOL> url = '<STR_LIT>' . format ( self . get_url ( ) ) <EOL> request = http . Request ( '<STR_LIT:POST>' , url , '<STR_LIT>' ) <EOL> return request , parsers . parse_empty <EOL> @ base . apimethod <EOL> def ping ( self ) : <EOL> """<STR_LIT>""" <EOL> url = '<STR_LIT>' . format ( self . get_url ( ) ) <EOL> request = http . Request ( '<STR_LIT:POST>' , url , '<STR_LIT>' ) <EOL> return request , parsers . parse_empty <EOL> class RepoHooks ( RepoHooksBase ) : <EOL> pass </s>
