Sha256: 2b84e7006218fcaf3618e7a51d1f01ccf1676bedfd190625dc13f696ee739408
Contents?: true
Size: 382 Bytes
Versions: 22
Compression:
Stored size: 382 Bytes
Contents
module Stackify class AuthWorker < Worker def initialize name = 'Authorisation worker' super @type = :auth end def after_perform result if result.try(:status) == 200 Stackify.send :authorized! Stackify.successfull_authorisation result else Stackify.unsuccessfull_authorisation result, self end end end end
Version data entries
22 entries across 22 versions & 1 rubygems