rock_rms 4.15.0 → 4.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41cc0f6ea6c7f644e2c873726cd21b454cb35a35
4
- data.tar.gz: 9cd54ba92b23df44095a2a6f5d2cc0f6e7075083
3
+ metadata.gz: 1c2698256029e51587f5e1a3a2a0b80421a92b9f
4
+ data.tar.gz: 91a61ff2f1697acda2df3772ee450c7a4183de22
5
5
  SHA512:
6
- metadata.gz: 9bcc9f2d9c7c74dae5ed291b9e426674dd310d7cf8b16c53e891bcca04d13a92e675b2e84510c0614b6dd7a2b4c4b050e1958909ff724ef028155cef19cd7929
7
- data.tar.gz: 686a624238a10934efec2a9f557146bea99843f987e497a5b9c550402d1e4044ed511d04a366263976de17dba1e4ca7129ceadbd63c478012dd481662a28444d
6
+ metadata.gz: e71bd856204fd0be1e3c81c93c9f13bf29d6052eb3f19b2d3adb65ec14341fd830ec8d3c2c3dad0b5a4cc460fc95acb393d9fafb5ab65cbe5f836e5ca56e2216
7
+ data.tar.gz: 51bf11afe177f2268e8cf09a715b17aafc946b00aa06da83fa05349eea7de7e638d006d8377c131036bdcbbe1e5a22fcf3da953280f8332ab84df648a4637918
@@ -11,10 +11,11 @@ module RockRMS
11
11
  Response::TransactionDetail.format(res)
12
12
  end
13
13
 
14
- def update_transaction_detail(id, fund_id:)
15
- options = {
16
- 'AccountId' => fund_id
17
- }
14
+ def update_transaction_detail(id, fund_id: nil, fee_amount: nil)
15
+ options = {}
16
+ options['AccountId'] = fund_id if fund_id
17
+ options['FeeAmount'] = fee_amount if fee_amount
18
+
18
19
  patch(transaction_detail_path(id), options)
19
20
  end
20
21
 
@@ -3,6 +3,7 @@ module RockRMS
3
3
  class TransactionDetail < Base
4
4
  MAP = {
5
5
  id: 'Id',
6
+ fee_amount: 'FeeAmount',
6
7
  fund: 'Account',
7
8
  fund_id: 'AccountId',
8
9
  amount: 'Amount'
@@ -1,3 +1,3 @@
1
1
  module RockRMS
2
- VERSION = '4.15.0'.freeze
2
+ VERSION = '4.16.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rock_rms
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.15.0
4
+ version: 4.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-01 00:00:00.000000000 Z
11
+ date: 2020-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday