Class: GithubStatusNotifier::Client

Inherits:
Saddler::Reporter::Github::Client
  • Object
show all
Defined in:
lib/github_status_notifier/client.rb

Instance Method Summary collapse

Instance Method Details

#create_status(state, params) ⇒ Object



3
4
5
6
7
8
# File 'lib/github_status_notifier/client.rb', line 3

def create_status(state, params)
  logger.info(['create status with these:', slug, @repo.merging_sha, state, params])
  return_state = client.create_status(slug, @repo.merging_sha, state, params)
  logger.debug(return_state)
  return_state
end

#loggerObject



10
11
12
# File 'lib/github_status_notifier/client.rb', line 10

def logger
  ::GithubStatusNotifier.logger
end