accounts_client 0.2.34 → 0.2.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/api_key.rb +1 -0
- data/lib/accounts/is_a_user.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39188c7bb4d4d49d771fbf8c18d148ef1b096fa6
|
4
|
+
data.tar.gz: ac100f0a32e112e6ad5dd59f7d794eecff4b7c49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82c6edc040873f19f976272263a8c1f38facfb9a1454adeb05a9c0002c6556be4b61087ddc7b0b29f92c901e324631e82d87705294ec01dd2adbf063c6d4f72a
|
7
|
+
data.tar.gz: 1b6e90ae32f75ca7171256086a5c31560b9e765bd77220979c4ced9391fe1d08adb327e836131a03173a9ac1ebb9737e7918cac06e0ec518bb198370e8162c65
|
data/app/models/api_key.rb
CHANGED
data/lib/accounts/is_a_user.rb
CHANGED
@@ -56,12 +56,12 @@ module Accounts
|
|
56
56
|
# Returns CSV options associated with this user from PADMA ACCOUNTS
|
57
57
|
#
|
58
58
|
# @return [Hash]
|
59
|
-
def csv_options
|
59
|
+
def csv_options(override_options={})
|
60
60
|
options = CSV_DEFAULTS.clone
|
61
61
|
options[:col_sep] = self.padma.try :separator
|
62
62
|
options[:encoding] = self.padma.try :encoding
|
63
63
|
|
64
|
-
return options
|
64
|
+
return options.merge(override_options.to_hash.symbolize_keys!)
|
65
65
|
end
|
66
66
|
|
67
67
|
def encoding
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: accounts_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dwayne Macgowan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|