class Kashi::ClientWrapper

Public Class Methods

new(options) click to toggle source
# File lib/kashi/client_wrapper.rb, line 15
def initialize(options)
  @client = StatusCake::Client.new(API: ENV['KASHI_SC_API_KEY'], Username: ENV['KASHI_SC_USER'])
  @options = options
end

Public Instance Methods

tests() click to toggle source
# File lib/kashi/client_wrapper.rb, line 20
def tests
  @client.tests.select { |t| target?(t['WebsiteName']) }
end