rock_rms 5.9.0 → 5.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rock_rms/resources/transaction_detail.rb +13 -4
- data/lib/rock_rms/version.rb +1 -1
- data/rock_rms.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0436f189196aa04af2bcb9febb4aa528c99a4742c25a2373168292633ab58d59
|
4
|
+
data.tar.gz: 671a389f0d9afb2f2f59ef824b3b414ac774b394cafba86cea03deae654dc144
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d5c2423cb1ec837cd4e913d2fa3b52f7f6322d1f1deb12619c4ab7c5a5b6a0ed3b7927529fbbb59dc3ab76e9cd77c3293c13de80e90b0b58457f6822667f222
|
7
|
+
data.tar.gz: 9311324416a816d019dd4ca278a758465d94e5345d8029842f79785c7d23e70318bef7e7d2a910d6abd10838d2956f2ceb6cde7ccc645f7872998b20740fc036
|
@@ -11,11 +11,20 @@ module RockRMS
|
|
11
11
|
Response::TransactionDetail.format(res)
|
12
12
|
end
|
13
13
|
|
14
|
-
def update_transaction_detail(
|
14
|
+
def update_transaction_detail(
|
15
|
+
id,
|
16
|
+
fund_id: nil,
|
17
|
+
amount: nil,
|
18
|
+
fee_amount: nil,
|
19
|
+
entity_type_id: nil,
|
20
|
+
entity_id: nil
|
21
|
+
)
|
15
22
|
options = {}
|
16
|
-
options['AccountId']
|
17
|
-
options['Amount']
|
18
|
-
options['FeeAmount']
|
23
|
+
options['AccountId'] = fund_id if fund_id
|
24
|
+
options['Amount'] = amount if amount
|
25
|
+
options['FeeAmount'] = fee_amount if fee_amount
|
26
|
+
options['EntityTypeId'] = entity_type_id if entity_type_id
|
27
|
+
options['EntityId'] = entity_id if entity_id
|
19
28
|
|
20
29
|
patch(transaction_detail_path(id), options)
|
21
30
|
end
|
data/lib/rock_rms/version.rb
CHANGED
data/rock_rms.gemspec
CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.add_development_dependency 'bundler', '~> 2.0'
|
29
29
|
s.add_development_dependency 'dotenv'
|
30
30
|
s.add_development_dependency 'pry'
|
31
|
-
s.add_development_dependency 'rake', '~>
|
31
|
+
s.add_development_dependency 'rake', '~> 12.3.3'
|
32
32
|
s.add_development_dependency 'rspec', '~> 3.7'
|
33
33
|
s.add_development_dependency 'sinatra', '~> 2.0'
|
34
34
|
s.add_development_dependency 'webmock', '~> 3.1'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rock_rms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.9.
|
4
|
+
version: 5.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 12.3.3
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 12.3.3
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rspec
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|