module Smyte

Constants

VERSION

Public Class Methods

webhook(secret, response, options={}) click to toggle source
# File lib/smyte.rb, line 25
def webhook(secret, response, options={})
  ::Smyte::Notification.parse(secret, response, options)
end

Protected Class Methods

client() click to toggle source
# File lib/smyte.rb, line 40
def client
  ::Smyte::Client.new
end
config() click to toggle source
# File lib/smyte.rb, line 36
def config
  @config ||= ::Smyte::Config.new
end
reset() click to toggle source
# File lib/smyte.rb, line 31
def reset
  # used by tests
  @config = nil
end