Sha256: d33ee48c729af293b93db66a2920a0d9795f95cd6a701abc55dd9c998d570672
Contents?: true
Size: 420 Bytes
Versions: 3
Compression:
Stored size: 420 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
status_cat-0.1.1 | lib/status_cat/checkers/stripe.rb |
status_cat-0.1.0 | lib/status_cat/checkers/stripe.rb |
status_cat-0.0.9 | lib/status_cat/checkers/stripe.rb |