Sha256: 4d2581dff814de278d571db2d1614b2d27796e138d3a84072c1ff8a168b7897a
Contents?: true
Size: 422 Bytes
Versions: 1
Compression:
Stored size: 422 Bytes
Contents
module StatusCat module Checkers class Stripe < Base def initialize if !defined?( ::Stripe ) @status = 'stripe gem not installed' else @status = fail_on_exception do account = ::Stripe::Account.retrieve() @value = account.email account.charge_enabled ? nil : 'Charge is not enabled' end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
status_cat-0.0.8 | lib/status_cat/checkers/stripe.rb |