atrium-ruby 2.10.1 → 2.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/Transaction.md +1 -0
- data/lib/atrium-ruby/models/transaction.rb +10 -1
- data/lib/atrium-ruby/version.rb +1 -1
- data/spec/models/transaction_spec.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9758e41dc9d2bebcea6e6f993258f6a20e0801b4cde8bd5f7cc04f2c13b74f0e
|
4
|
+
data.tar.gz: a3a741ede145afe3c8182a8eeec8a0a526c5810d6079e4d2461984cd5377ded1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51e1b0cafd8d8ed67be2a14c76d8bb5bcb1b82d6efebbca6cf22954b770a5e25c51560035fc58712f66181f1cbcc0caace930d3861b9cf583d6bf59285175887
|
7
|
+
data.tar.gz: 92207bfbc244974e935ba5be94197b2de43bc9cf5e43e36319aa9cadc47dc763e4c85dec66a2cbe9e3b2488dde64a908024d565f84faf831ed533c97097836d6
|
data/README.md
CHANGED
@@ -17,12 +17,12 @@ gem build atrium-ruby.gemspec
|
|
17
17
|
Then either install the gem locally:
|
18
18
|
|
19
19
|
```shell
|
20
|
-
gem install ./atrium-ruby-2.10.
|
20
|
+
gem install ./atrium-ruby-2.10.2.gem
|
21
21
|
```
|
22
22
|
|
23
23
|
Finally add this to the Gemfile:
|
24
24
|
|
25
|
-
gem 'atrium-ruby', '~> 2.10.
|
25
|
+
gem 'atrium-ruby', '~> 2.10.2'
|
26
26
|
|
27
27
|
### Install from Git
|
28
28
|
|
data/docs/Transaction.md
CHANGED
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
|
|
21
21
|
**is_international** | **BOOLEAN** | | [optional]
|
22
22
|
**is_overdraft_fee** | **BOOLEAN** | | [optional]
|
23
23
|
**is_payroll_advance** | **BOOLEAN** | | [optional]
|
24
|
+
**is_subscription** | **BOOLEAN** | | [optional]
|
24
25
|
**latitude** | **Float** | | [optional]
|
25
26
|
**longitude** | **Float** | | [optional]
|
26
27
|
**member_guid** | **String** | | [optional]
|
@@ -46,6 +46,8 @@ module Atrium
|
|
46
46
|
|
47
47
|
attr_accessor :is_payroll_advance
|
48
48
|
|
49
|
+
attr_accessor :is_subscription
|
50
|
+
|
49
51
|
attr_accessor :latitude
|
50
52
|
|
51
53
|
attr_accessor :longitude
|
@@ -95,6 +97,7 @@ module Atrium
|
|
95
97
|
:'is_international' => :'is_international',
|
96
98
|
:'is_overdraft_fee' => :'is_overdraft_fee',
|
97
99
|
:'is_payroll_advance' => :'is_payroll_advance',
|
100
|
+
:'is_subscription' => :'is_subscription',
|
98
101
|
:'latitude' => :'latitude',
|
99
102
|
:'longitude' => :'longitude',
|
100
103
|
:'member_guid' => :'member_guid',
|
@@ -133,6 +136,7 @@ module Atrium
|
|
133
136
|
:'is_international' => :'BOOLEAN',
|
134
137
|
:'is_overdraft_fee' => :'BOOLEAN',
|
135
138
|
:'is_payroll_advance' => :'BOOLEAN',
|
139
|
+
:'is_subscription' => :'BOOLEAN',
|
136
140
|
:'latitude' => :'Float',
|
137
141
|
:'longitude' => :'Float',
|
138
142
|
:'member_guid' => :'String',
|
@@ -230,6 +234,10 @@ module Atrium
|
|
230
234
|
self.is_payroll_advance = attributes[:'is_payroll_advance']
|
231
235
|
end
|
232
236
|
|
237
|
+
if attributes.has_key?(:'is_subscription')
|
238
|
+
self.is_subscription = attributes[:'is_subscription']
|
239
|
+
end
|
240
|
+
|
233
241
|
if attributes.has_key?(:'latitude')
|
234
242
|
self.latitude = attributes[:'latitude']
|
235
243
|
end
|
@@ -323,6 +331,7 @@ module Atrium
|
|
323
331
|
is_international == o.is_international &&
|
324
332
|
is_overdraft_fee == o.is_overdraft_fee &&
|
325
333
|
is_payroll_advance == o.is_payroll_advance &&
|
334
|
+
is_subscription == o.is_subscription &&
|
326
335
|
latitude == o.latitude &&
|
327
336
|
longitude == o.longitude &&
|
328
337
|
member_guid == o.member_guid &&
|
@@ -348,7 +357,7 @@ module Atrium
|
|
348
357
|
# Calculates hash code according to all attributes.
|
349
358
|
# @return [Fixnum] Hash code
|
350
359
|
def hash
|
351
|
-
[account_guid, amount, category, check_number, check_number_string, created_at, currency_code, date, description, guid, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, latitude, longitude, member_guid, memo, merchant_category_code, merchant_guid, original_description, posted_at, status, top_level_category, transacted_at, type, updated_at, user_guid].hash
|
360
|
+
[account_guid, amount, category, check_number, check_number_string, created_at, currency_code, date, description, guid, is_bill_pay, is_direct_deposit, is_expense, is_fee, is_income, is_international, is_overdraft_fee, is_payroll_advance, is_subscription, latitude, longitude, member_guid, memo, merchant_category_code, merchant_guid, original_description, posted_at, status, top_level_category, transacted_at, type, updated_at, user_guid].hash
|
352
361
|
end
|
353
362
|
|
354
363
|
# Builds the object from hash
|
data/lib/atrium-ruby/version.rb
CHANGED
@@ -135,6 +135,12 @@ describe 'Transaction' do
|
|
135
135
|
end
|
136
136
|
end
|
137
137
|
|
138
|
+
describe 'test attribute "is_subscription"' do
|
139
|
+
it 'should work' do
|
140
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
138
144
|
describe 'test attribute "latitude"' do
|
139
145
|
it 'should work' do
|
140
146
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atrium-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.10.
|
4
|
+
version: 2.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MX
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|