tindie_api 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tindie_api/version.rb +1 -1
- data/lib/tindie_api.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36daa88fb4fb4d1f4db8b756fed22867831dcbb78e41bdba37de2b7d27f38c92
|
4
|
+
data.tar.gz: aabeb3fdbf7fd8196f6ef426d4254581999f99f2b1980efbb83542dd164e36ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7f25354104e21579d7982124b746041f9e0fb6178cd6f4412e4f480c3438e3ca31df521a13c805d285a1bcf497af8466c89efe1acd08db1be87c19f68df86a6
|
7
|
+
data.tar.gz: 264a53ac6ae677d480a9b98273ad5a8e80d4043d040a957e1ddb71671b0ffb2f970344ff5fb4792a2fd2c96fcfb8c89c97158d2d72c98df5c9b57ba7cf5f25a6
|
data/lib/tindie_api/version.rb
CHANGED
data/lib/tindie_api.rb
CHANGED
@@ -32,10 +32,9 @@ module TindieApi
|
|
32
32
|
def initialize(data)
|
33
33
|
@json_parsed = data
|
34
34
|
@date = DateTime.parse(data['date'])
|
35
|
-
@date_shipped = DateTime.parse(data['date_shipped'])
|
36
35
|
@products = data['items'].map { |i| TindieProduct.new(i) }
|
37
|
-
@shipped = data['shipped']
|
38
36
|
@refunded = data['refunded']
|
37
|
+
@shipped = data['shipped']
|
39
38
|
@order_number = data['number']
|
40
39
|
@recipient_email = data['email']
|
41
40
|
@recipient_phone = data['phone']
|
@@ -58,6 +57,7 @@ module TindieApi
|
|
58
57
|
@tindie_fee = data['total_tindiefee']
|
59
58
|
@cc_fee = data['total_ccfee']
|
60
59
|
if @shipped
|
60
|
+
@date_shipped = DateTime.parse(data['date_shipped'])
|
61
61
|
@tracking_code = data['tracking_code']
|
62
62
|
@tracking_url = data['tracking_url']
|
63
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tindie_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Spencer Owen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|