Sha256: 31c2445d8923dac8500a8c0a6fd67bd2296d241dca812c1781e94d2d478c9090

Contents?: true

Size: 497 Bytes

Versions: 7

Compression:

Stored size: 497 Bytes

Contents

require_dependency "phcdevworks_accounts_stripe/application_controller"

module PhcdevworksAccountsStripe
    class Admin::CustomersController < ApplicationController

        # Filters
        before_action :authenticate_user!
        include PhcdevworksCore::PhcdevworksPluginsHelper
        before_action :phcdevworks_accounts_admin_only

        # Customers - List
        def admin_customer_list
            @admin_customer_list = Stripe::Customer.list({limit: 100})
        end

    end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
phcdevworks_accounts_stripe-0.1.7 app/controllers/phcdevworks_accounts_stripe/admin/customers_controller.rb
phcdevworks_accounts_stripe-0.1.6 app/controllers/phcdevworks_accounts_stripe/admin/customers_controller.rb
phcdevworks_accounts_stripe-0.1.5 app/controllers/phcdevworks_accounts_stripe/admin/customers_controller.rb
phcdevworks_accounts_stripe-0.1.4 app/controllers/phcdevworks_accounts_stripe/admin/customers_controller.rb
phcdevworks_accounts_stripe-0.1.3 app/controllers/phcdevworks_accounts_stripe/admin/customers_controller.rb
phcdevworks_accounts_stripe-0.1.2 app/controllers/phcdevworks_accounts_stripe/admin/customers_controller.rb
phcdevworks_accounts_stripe-0.1.1 app/controllers/phcdevworks_accounts_stripe/admin/customers_controller.rb