omniauth-parallelmarkets 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: a546b67917507c45b98686e72e5438d9d353d32714d55f47cf98df2d68e3ad26
4
- data.tar.gz: 5f7c9ac005253ae226d006760d6405332222ed3da874f342806beccbc12423ff
3
+ metadata.gz: b026698cd5a7b5283f7913babb473531952ba669b67bd12c0a18363c9244cf4e
4
+ data.tar.gz: e1db5da64573edbdbc378965cc1d6c5f5684fe859f2293fadf0600793e52c9b2
5
5
  SHA512:
6
- metadata.gz: a4a1cbc37e8e3b9f9cc4b5b5c051224d545c8b809ceb87ae4668638fb8ae0792695cbeab5465e15fe284bb5ffdb66d6c5f31f2661f1e9f6e0b3b487182f07bd5
7
- data.tar.gz: 90a28c0e4615bebe6908c0764b7a57e6b2a0fee3d8bfbf07559928b895939c9cd65acf1f93ba90bad5c830c69911fbf6bb62031687a1cc658fd816fd0d1ddd95
6
+ metadata.gz: f00eb527524c5bf8b9feab30b59c2c8b3dfcee235e8a8cc2d5a42bb7a67f0a773703acafdfa173daedae3f9fb3cf0358ae21fd45b8106c5e3dc4569153103744
7
+ data.tar.gz: c322188b820b9fe1d3fc48dd6bc2d0627c7f8dc82e5810339351b36409ec007dc8a1e4a5aef4af6ce7b41784e5649a220e094199dabfa6002aacd4d65dd70ada
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAuth
4
4
  module ParallelMarkets
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
6
6
  end
7
7
  end
@@ -25,6 +25,7 @@ module OmniAuth
25
25
  extra do
26
26
  {
27
27
  accreditations: accreditations,
28
+ indicated_unaccredited: indicated_unaccredited,
28
29
  business_type: profile['business_type'],
29
30
  type: raw_info['type'],
30
31
  user_id: raw_info['user_id'],
@@ -57,6 +58,10 @@ module OmniAuth
57
58
  @raw_accreditations ||= access_token.get('/v1/accreditations').parsed
58
59
  end
59
60
 
61
+ def indicated_unaccredited
62
+ raw_accreditations['indicated_unaccredited']
63
+ end
64
+
60
65
  def accreditations
61
66
  raw_accreditations['accreditations']
62
67
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-parallelmarkets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Muller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-23 00:00:00.000000000 Z
11
+ date: 2019-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2