zoho_books 0.0.7 → 0.0.7.2

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: aa494c986b5d2a51bd61c12e12d1daf454c548447d9cf0622874ffaa66ff4142
4
- data.tar.gz: 7fd8d731a793fca4aa5206c9f9e51196cb86ebf2819ac99af23194b4f5aa01b6
3
+ metadata.gz: 807511a57fb90afc79ead888654f7f0432c7edc04c7a7d8e9361386e9dcd9fec
4
+ data.tar.gz: 2c8c63b351d4d380dd8579567143d8088e0749c73d98224a9a6c4c85a5306e24
5
5
  SHA512:
6
- metadata.gz: dfc9f595f0b0c07cd0b361e38ee295aba573081147f782466b3634ecdf1b5f40497ec16e1debc7103d3f17436a6fe3e4defd1b002e7a3213efa5d24cc2de989c
7
- data.tar.gz: a360ee96fbc8fc44849e76ec27dee02e10127110471fdf5fb5244e57e7fa1ba5cad9c4c4f59b856e6e980576f8497d83e45e5100b504f511df70385d721c0dce
6
+ metadata.gz: 20f162600fd9dff45653ae8b29e286b3aed2c559a8dba8ee7b897358b77f5268cb978856fb564109daba0fb98b1d54dccbc5d6e8a09c6cda859aa0d482c8d98a
7
+ data.tar.gz: 7d6d67084cfa5558aa69b7ce4ba5866db709da738a1e3107e22fcad58f370e6bd5c1e23d2b898bfcf28b0d5b31d74af7076e11d0d75e0de69d58ee5068f5928f
@@ -10,7 +10,8 @@ module ZohoBooks
10
10
  end
11
11
 
12
12
  def self.get(id, _opts = {})
13
- ZohoBooks::Connection.get("#{BASE_URL}/estimates/#{id}?organization_id=#{ZohoBooks.config.organization_id}")
13
+ query = _opts.map { |k, v| "#{k}=#{v}" }.join('&')
14
+ ZohoBooks::Connection.get("#{BASE_URL}/estimates/#{id}?organization_id=#{ZohoBooks.config.organization_id}&#{query}")
14
15
  end
15
16
 
16
17
  def self.create(body, _opts = {})
@@ -10,7 +10,8 @@ module ZohoBooks
10
10
  end
11
11
 
12
12
  def self.get(id, _opts = {})
13
- ZohoBooks::Connection.get("#{BASE_URL}/invoices/#{id}?organization_id=#{ZohoBooks.config.organization_id}")
13
+ query = _opts.map { |k, v| "#{k}=#{v}" }.join('&')
14
+ ZohoBooks::Connection.get("#{BASE_URL}/invoices/#{id}?organization_id=#{ZohoBooks.config.organization_id}&#{query}")
14
15
  end
15
16
 
16
17
  def self.create(body, _opts = {})
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zoho_books
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - PapaLoup
8
8
  - Raphtml
9
9
  - theobcl
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-10-19 00:00:00.000000000 Z
13
+ date: 2023-10-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty
@@ -47,7 +47,7 @@ homepage: https://rubygems.org/gems/zoho_books
47
47
  licenses:
48
48
  - MIT
49
49
  metadata: {}
50
- post_install_message:
50
+ post_install_message:
51
51
  rdoc_options: []
52
52
  require_paths:
53
53
  - lib
@@ -62,8 +62,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.3.26
66
- signing_key:
65
+ rubygems_version: 3.1.6
66
+ signing_key:
67
67
  specification_version: 4
68
68
  summary: Zoho Books API wrapper
69
69
  test_files: []