Sha256: a02655d597b30334f5704c82d479e50ebbda03dca4bb2c53d88ab260813ff874
Contents?: true
Size: 438 Bytes
Versions: 5
Compression:
Stored size: 438 Bytes
Contents
module StatusCat module Checkers class Stripe < Base def initialize return if gem_missing?('stripe', defined?(::Stripe)) @status = fail_on_exception do @value = account.email test end end def test return account.charge_enabled ? nil : 'Charge is not enabled' end def account return ::Stripe::Account.retrieve end end end end
Version data entries
5 entries across 5 versions & 1 rubygems