stripe-cli 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stripe/cli/commands/charges.rb +3 -1
- data/lib/stripe/cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5514138ee0b6af8b72c00f3f6fd36ac9ccef8367
|
4
|
+
data.tar.gz: 2b3c14c341ca7e0c1ca2b4c408ac8fa892dff17e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b428704103133418bb34ec718239cd0b8029f11a45a2fda29e37ce60831cbb608c4893258653b34fea62fca8d9cfa952eae7fc669274523a2c16627f52d8365
|
7
|
+
data.tar.gz: 591707dab238d6d62872792e65c2eab5e260cde162f2f7e267cfa483d29cba842b4fff295a5543e0b8414c7fac6eea48e910c19316abc43ddcab680a764ee976
|
@@ -33,7 +33,7 @@ module Stripe
|
|
33
33
|
end
|
34
34
|
|
35
35
|
desc "create", "Create a charge"
|
36
|
-
option :customer
|
36
|
+
option :customer, :desc => "The ID of an existing customer"
|
37
37
|
option :card
|
38
38
|
option :card_number
|
39
39
|
option :card_exp_month
|
@@ -45,6 +45,8 @@ module Stripe
|
|
45
45
|
option :description
|
46
46
|
option :capture, :type => :boolean, :default => true
|
47
47
|
option :metadata, :type => :hash
|
48
|
+
option :statement_description, :desc => "a string to be displayed alongside your company name on your customer's credit card statementup. Maybe up to 15 characters in length."
|
49
|
+
option :receipt_email, :desc => "The email address to send this charge's receipt to. Overrides all default email settings."
|
48
50
|
def create
|
49
51
|
options[:amount] ||= ask('Amount in dollars:')
|
50
52
|
options[:amount] = (Float(options[:amount]) * 100).to_i
|
data/lib/stripe/cli/version.rb
CHANGED