waveapps 0.1.5 → 0.1.6

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
  SHA256:
3
- metadata.gz: 0cfd2cadda9a1b89374e0a887abf1372db8a66e312eef095d46ee0bd24a4196a
4
- data.tar.gz: 58c8f49781184a986b8d4770426750f4ed20a4acdb484b9ab1c2026e023ec8a5
3
+ metadata.gz: 7add40d1a01cf89f22a73ac635a539331481fcfe1ad607d94f8794adf7b0bd1c
4
+ data.tar.gz: 5020a93cfef8117a90292fbdd1835a3b27283184902c7831c0e377680283f6d5
5
5
  SHA512:
6
- metadata.gz: 2155906045ed527d4549c8a298710b25af9732a4523ad8301e4f162e63cca140ce98d3bb0728993e772492d8be82706dafeade722520447394f23624e6a132d4
7
- data.tar.gz: fe76a4d5ff85406621adf1dcea78ea9ad6efa52b36ea2ccb1b2b6a008bcd48aeee2b3c4569c8119a4ffb0fa9598bde11e032bf49e110bacfbc403b451ca9b5c8
6
+ metadata.gz: 47a0f388436dd8521eb1f69d77b1ba9ce2328f22632f272ea6ec328ad88136c42ff4d483aed27d55f84746ec5ea6ece81c4b23fdbb2e5a282040a8e627e56235
7
+ data.tar.gz: d9daac12bff6d0c364d441dd95850a0717d57c975c522fae1cc089430cd2d51464dc7204946eabd5e57aae71d19659d3513ad0ae14791a78221e52b907aacf16
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waveapps (0.1.4)
4
+ waveapps (0.1.5)
5
5
  graphql-client (~> 0.16)
6
6
 
7
7
  GEM
data/examples/invoice.md CHANGED
@@ -19,7 +19,7 @@ Waveapps::Invoice.list_invoices(business_id: <BUSINESS_ID>)
19
19
 
20
20
  ## Send invoice
21
21
 
22
- Provide email of recipients in the `to` argument. Note that this must be an array.
22
+ Provide email of recipients in the `to` argument. If you have more than one recipient, pass it as an array.
23
23
 
24
24
  ```ruby
25
25
  Waveapps::Invoice.send_invoice(invoice_id: <INVOICE_ID>, to: [<EMAIL>])
@@ -272,7 +272,13 @@ module Waveapps
272
272
  productId: pid[:product_id],
273
273
  quantity: pid[:quantity],
274
274
  description: pid[:description],
275
- unitPrice: pid[:unit_price]
275
+ unitPrice: pid[:unit_price],
276
+ taxes: pid[:taxes] && pid[:taxes].map do |tax|
277
+ {
278
+ salesTaxId: tax[:sales_tax_id],
279
+ amount: tax[:amount]
280
+ }
281
+ end
276
282
  }
277
283
  end,
278
284
  status: status,
@@ -1,5 +1,5 @@
1
1
  module Waveapps
2
2
  module Ruby
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waveapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hannah Masila