tipalti-ruby 0.1.0 → 0.2.0

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: '083353594c3e8a1cc241532f294013094f9415a7541d4a2c5d2374527a498ca3'
4
- data.tar.gz: 3a4d12a766b0c4541a86f20f443b7ff40c24ceb1346fc7b4087fed8af54e1bbb
3
+ metadata.gz: e37b79098df7e8046fedbea14803044851d44347bbda381f355824d8ba60adc6
4
+ data.tar.gz: 439fcc44613745ed6e6d21e7ee232c274959e555cf43e08f233ece4a5c69244b
5
5
  SHA512:
6
- metadata.gz: 7cdbfcda272242bf4522dd2f81d1bcb0bc2bd0fa8103c2acc7260434c8be95ca27f7c3564cf7510d0ef2ca5cbf3ea87af55f696bc12f849fad6b7d8021cd1374
7
- data.tar.gz: 18de865a751a63dd0c62ce117c25c4cf882349b1503f52795e5a2dad1a7d7041ee60c08c9b901abc89eb96d554cf511c1ed2856dd7104e876aec54eb6e715ed0
6
+ metadata.gz: 0e00bf980e2487d0f9f8af3c9bd178340f23ed8f89df1277ab02731cf63a2bcae7f72ea1d7980bce3cc977479b6124287d2f842458408d52dc1c23b478df0d71
7
+ data.tar.gz: 1433b3cc4992fdf63d5ccab4b8fc1de771b1fa7815f3db1f924712ab73afc248a463a337a310c3814328a3269252d902a68a8cee026c191210acb0592a538bcd
data/CHANGELOG.md CHANGED
@@ -1 +1,13 @@
1
+ ## v0.2.0
2
+
3
+ - Added payees get endpoint
4
+
5
+ ## v0.1.0
6
+
7
+ Initial release of the gem.
8
+
9
+ - Added payees list endpoint
10
+ - Added payees create endpoint
11
+ - Added OAuth token refresh endpoint
12
+
1
13
  ## [Unreleased]
data/README.md CHANGED
@@ -1,3 +1,4 @@
1
+ [![Gem Version](https://badge.fury.io/rb/tipalti-ruby.svg)](https://badge.fury.io/rb/tipalti-ruby)
1
2
  [![CircleCI](https://dl.circleci.com/status-badge/img/gh/riipen/tipalti-ruby/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/riipen/tipalti-ruby/tree/main)
2
3
 
3
4
  # Tiplaty Ruby
@@ -52,6 +53,12 @@ For use of each endpoint and available attributes or filtering criteria, please
52
53
 
53
54
  Example: `client.payee_create(refCode: '123abc')`
54
55
 
56
+ #### Payees get
57
+
58
+ [API docs](https://documentation.tipalti.com/reference/get_api-v1-payees-id)
59
+
60
+ Example: `client.payee_get('123abc')`
61
+
55
62
  #### Payees list
56
63
 
57
64
  [API docs](https://documentation.tipalti.com/reference/get_api-v1-payees)
@@ -7,6 +7,10 @@ module Tipalti
7
7
  connection.post("/api/v1/payees", **params)
8
8
  end
9
9
 
10
+ def payee_get(id)
11
+ connection.get("/api/v1/payees/#{id}")
12
+ end
13
+
10
14
  def payee_list(**params)
11
15
  connection.get("/api/v1/payees", **params)
12
16
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tipalti
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tipalti-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Ell
@@ -67,6 +67,7 @@ files:
67
67
  - lib/tipalti-ruby/connection.rb
68
68
  - lib/tipalti-ruby/error.rb
69
69
  - lib/tipalti-ruby/version.rb
70
+ - tipalti-ruby-0.1.0.gem
70
71
  homepage: https://github.com/riipen/tipalti-ruby
71
72
  licenses:
72
73
  - MIT