qaddy-client 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/qaddy_client/order.rb +2 -5
- data/lib/qaddy_client/version.rb +1 -1
- metadata +2 -2
data/lib/qaddy_client/order.rb
CHANGED
@@ -9,6 +9,7 @@ module QaddyClient
|
|
9
9
|
attr_reader :send_email_after_hours
|
10
10
|
attr_reader :send_email_at
|
11
11
|
attr_reader :total
|
12
|
+
attr_reader :internal_comment
|
12
13
|
|
13
14
|
attr_reader :order_items_attributes
|
14
15
|
|
@@ -20,6 +21,7 @@ module QaddyClient
|
|
20
21
|
@send_email_after_hours = attributes[:send_email_after_hours]
|
21
22
|
@send_email_at = attributes[:send_email_at]
|
22
23
|
@total = attributes[:total]
|
24
|
+
@internal_comment = attributes[:internal_comment]
|
23
25
|
|
24
26
|
@order_items_attributes = Array.new
|
25
27
|
end
|
@@ -28,10 +30,5 @@ module QaddyClient
|
|
28
30
|
@order_items_attributes.push(order)
|
29
31
|
end
|
30
32
|
|
31
|
-
def post
|
32
|
-
puts "Posting order..."
|
33
|
-
QaddyClient.configuration
|
34
|
-
end
|
35
|
-
|
36
33
|
end
|
37
34
|
end
|
data/lib/qaddy_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qaddy-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|