octobat 2.0.11 → 2.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2086e40878a77c42ceea5f27eafc03e84af74174
4
- data.tar.gz: 797414c2c1882ff3359ed28226fd856a02259553
3
+ metadata.gz: d72246756c2a8d5a2c36a6f42ced5208268fece4
4
+ data.tar.gz: 9d93b88fb4783507ae73242db3df26eebcaa3e91
5
5
  SHA512:
6
- metadata.gz: 6610668ad5b756b952bded110afcc76d8047111a21082d5084364b22599f689b87699f2baa1cc6e6821743f07dfdc4bc583ad52e5375934a5a426b1acfd9d06e
7
- data.tar.gz: e383f98dc35acdfeeece4a3c77abed0616bdb15607f881b6a92ca2d2e39feb98a01d841c4459b391767d34eb0edebe0e805f726e5fecd244d2dbf4af703f2048
6
+ metadata.gz: 06117256cdbc56f8d1cce89259541874ac4ccdbdbd00bbf2b334ac230780a6ea2c3cf623530c410e0863d3a92994eae34c60fc1253a7d4412848408c7f3d51be
7
+ data.tar.gz: 2b82815376c80d889d7884ef1afd7be15eef3c69396a70e79421ef8caeb754ff5f3d8e524db36a840595e6a0b4ad2bc32f06f59397a31ddc6c7d89d3ae8e0200
@@ -1,19 +1,19 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- octobat (2.0.11)
4
+ octobat (2.0.12)
5
5
  rest-client (>= 1.4, < 4.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- domain_name (0.5.20170404)
10
+ domain_name (0.5.20180417)
11
11
  unf (>= 0.0.5, < 1.0.0)
12
12
  http-cookie (1.0.3)
13
13
  domain_name (~> 0.5)
14
- mime-types (3.1)
14
+ mime-types (3.2.2)
15
15
  mime-types-data (~> 3.2015)
16
- mime-types-data (3.2016.0521)
16
+ mime-types-data (3.2018.0812)
17
17
  netrc (0.11.0)
18
18
  rest-client (2.0.2)
19
19
  http-cookie (>= 1.0.2, < 2.0)
@@ -21,7 +21,7 @@ GEM
21
21
  netrc (~> 0.8)
22
22
  unf (0.1.4)
23
23
  unf_ext
24
- unf_ext (0.0.7.4)
24
+ unf_ext (0.0.7.5)
25
25
 
26
26
  PLATFORMS
27
27
  ruby
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.11
1
+ 2.0.12
@@ -40,6 +40,7 @@ require 'octobat/document_template'
40
40
  require 'octobat/document_language'
41
41
  require 'octobat/checkout'
42
42
  require 'octobat/coupon'
43
+ require 'octobat/product'
43
44
  require 'octobat/tax_region_setting'
44
45
  require 'octobat/tax_evidence'
45
46
  require 'octobat/tax_evidence_request'
@@ -3,7 +3,6 @@ module Octobat
3
3
  extend Octobat::APIOperations::List
4
4
 
5
5
  def url
6
- puts parent_obj
7
6
  !parent_obj.nil? ? parentize_url : super
8
7
  end
9
8
 
@@ -0,0 +1,8 @@
1
+ module Octobat
2
+ class Product < APIResource
3
+ extend Octobat::APIOperations::List
4
+ include Octobat::APIOperations::Create
5
+ include Octobat::APIOperations::Update
6
+
7
+ end
8
+ end
@@ -54,6 +54,7 @@ module Octobat
54
54
  'document_language' => DocumentLanguage,
55
55
  'checkout' => Checkout,
56
56
  'coupon' => Coupon,
57
+ 'product' => Product,
57
58
  'tax_region_setting' => TaxRegionSetting,
58
59
  'transaction' => Transaction,
59
60
  'tax_evidence' => TaxEvidence,
@@ -1,3 +1,3 @@
1
1
  module Octobat
2
- VERSION = '2.0.11'
2
+ VERSION = '2.0.12'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octobat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.11
4
+ version: 2.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaultier Laperche
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-10 00:00:00.000000000 Z
11
+ date: 2018-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -88,6 +88,7 @@ files:
88
88
  - lib/octobat/payment_recipient_reference.rb
89
89
  - lib/octobat/payment_source.rb
90
90
  - lib/octobat/payout.rb
91
+ - lib/octobat/product.rb
91
92
  - lib/octobat/singleton_api_resource.rb
92
93
  - lib/octobat/tax_evidence.rb
93
94
  - lib/octobat/tax_evidence_request.rb