kkt_shoppe 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84190bc49be3c83ad3e757176ddd7991ed92e699
|
4
|
+
data.tar.gz: 06b899c9eb335d585323bc1afb3efe06190d3e36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e86f4d4a178e6bac4d1a396ea8a3fcb8115832d131ada2473dc4b0db7537bd3401969fcb8adad9d179527706fd600f527175a5bfa1a0154e0eba8deff54d376
|
7
|
+
data.tar.gz: 41a2748a210a7d184248bfc7aecc98ef6859c341ac0a17c03c74d7d4683f87b7dd8339e19bda3cc44405d0c2b8fc39af7c11e2dc1366d896cbc33283f0d2f7a3
|
@@ -1,25 +1,25 @@
|
|
1
1
|
module KktShoppe
|
2
2
|
class OrderMailer < ActionMailer::Base
|
3
|
-
|
3
|
+
|
4
4
|
def received(order)
|
5
5
|
@order = order
|
6
6
|
mail :from => KktShoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('kkt_shoppe.order_mailer.received.subject', :default => "Order Confirmation")
|
7
7
|
end
|
8
|
-
|
8
|
+
|
9
9
|
def accepted(order)
|
10
10
|
@order = order
|
11
|
-
mail :from => KktShoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('kkt_shoppe.order_mailer.received.accepted', :default => "Order Accepted")
|
11
|
+
#mail :from => KktShoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('kkt_shoppe.order_mailer.received.accepted', :default => "Order Accepted")
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
def rejected(order)
|
15
15
|
@order = order
|
16
|
-
mail :from => KktShoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('kkt_shoppe.order_mailer.received.rejected', :default => "Order Rejected")
|
16
|
+
#mail :from => KktShoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('kkt_shoppe.order_mailer.received.rejected', :default => "Order Rejected")
|
17
17
|
end
|
18
|
-
|
18
|
+
|
19
19
|
def shipped(order)
|
20
20
|
@order = order
|
21
|
-
mail :from => KktShoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('kkt_shoppe.order_mailer.received.shipped', :default => "Order Shipped")
|
21
|
+
#mail :from => KktShoppe.settings.outbound_email_address, :to => order.email_address, :subject => I18n.t('kkt_shoppe.order_mailer.received.shipped', :default => "Order Shipped")
|
22
22
|
end
|
23
|
-
|
23
|
+
|
24
24
|
end
|
25
25
|
end
|
@@ -2,11 +2,7 @@ Hello <%=@order.first_name%>!
|
|
2
2
|
|
3
3
|
Re: Order #<%=@order.number%>
|
4
4
|
|
5
|
-
We're pleased to let you know that we have received your order
|
5
|
+
Thank you for your business! We're pleased to let you know that we have received your order!
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
Many thanks,
|
10
|
-
|
11
|
-
<%=KktShoppe.settings.store_name%>
|
12
|
-
<%=KktShoppe.settings.email_address%>
|
7
|
+
Stay focused to reach those goals,
|
8
|
+
COHN CrossFit Management
|
data/lib/kkt_shoppe/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kkt_shoppe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Thompson
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-07-
|
13
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|