Class: Effective::Providers::StripeCharge
- Inherits:
-
Object
- Object
- Effective::Providers::StripeCharge
- Includes:
- ActiveModel::Model
- Defined in:
- app/models/effective/providers/stripe_charge.rb
Instance Attribute Summary collapse
-
#effective_order_id ⇒ Object
For our form.
-
#order ⇒ Object
For our form.
-
#stripe_token ⇒ Object
For our form.
Instance Method Summary collapse
Instance Attribute Details
#effective_order_id ⇒ Object
For our form
6 7 8 |
# File 'app/models/effective/providers/stripe_charge.rb', line 6 def effective_order_id @effective_order_id end |
#order ⇒ Object
For our form
6 7 8 |
# File 'app/models/effective/providers/stripe_charge.rb', line 6 def order @order end |
#stripe_token ⇒ Object
For our form
6 7 8 |
# File 'app/models/effective/providers/stripe_charge.rb', line 6 def stripe_token @stripe_token end |
Instance Method Details
#order_items ⇒ Object
19 20 21 |
# File 'app/models/effective/providers/stripe_charge.rb', line 19 def order_items order.order_items if order end |
#persisted? ⇒ Boolean
11 12 13 |
# File 'app/models/effective/providers/stripe_charge.rb', line 11 def persisted? false end |