lib/github_bot/tasks/base.rb
# returns the github client api established either by the task or the validator
returns the github client api established either by the task or the validator
returns the github client api established either by the task or the validator
def client_api
        return validator.client_api if validator.respond_to?(:client_api)
        ::GithubBot::Github::Client.instance
      end
def client_api return validator . client_api if validator . respond_to? ( :client_api ) :: GithubBot :: Github :: Client . instance end
returns the github client api established either by the task or the validator
returns the github client api established either by the task or the validator
# evaluate if the validator has defined the api and delegate accordingly