Module: Mortise

Defined in:
lib/mortise.rb,
lib/mortise/issue.rb,
lib/mortise/errors.rb,
lib/mortise/checker.rb,
lib/mortise/version.rb

Defined Under Namespace

Classes: BadRequestError, Checker, ConnectionTimeOutError, Error, InternalServerError, Issue, UnauthorizedError

Constant Summary collapse

TENON_APP_ID =
'490866e2ad3b501842cef0569e4c0ee0'
ERRORS =
{
  400 => BadRequestError,
  401 => UnauthorizedError,
  500 => InternalServerError,
  522 => ConnectionTimeOutError
}
VERSION =
"0.3.0"

Class Method Summary collapse

Class Method Details

.check(url, key, options = {}) ⇒ Object



9
10
11
# File 'lib/mortise.rb', line 9

def self.check(url, key, options = {})
  Mortise::Checker.new(url, key, options)
end