apruve 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/apruve/resources/corporate_account.rb +1 -1
- data/lib/apruve/version.rb +1 -1
- data/spec/apruve/resources/corporate_account_spec.rb +3 -0
- 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: 8627da221432f47423e865161c9b050322b001b9
|
4
|
+
data.tar.gz: 7d543ca989f8ffc2830efe38c114c464982fb2e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0377537b00e7b2d2a1379d5d8078a568df6e676ca7b65f2615d64f230779e0a7f85ea835370fb91748f7745593a03e230f1f6eb64c102c854a4c90aff8f1b8e8
|
7
|
+
data.tar.gz: a10c9c3120f2e3382ecb0e312c7a89249789c82cd148c8edef64b97a553ddee7a5fb836a1215695423c3348ac4c5124ef927b394dd337f1d62fdacbc969cbfc4
|
data/Gemfile.lock
CHANGED
@@ -2,7 +2,7 @@ module Apruve
|
|
2
2
|
class CorporateAccount < Apruve::ApruveObject
|
3
3
|
attr_accessor :id, :merchant_uuid, :customer_uuid, :type, :created_at, :updated_at, :payment_term_strategy_name,
|
4
4
|
:disabled_at, :name, :creditor_term_id, :payment_method_id, :status, :trusted_merchant,
|
5
|
-
:authorized_buyers
|
5
|
+
:authorized_buyers, :credit_available_cents, :credit_balance_cents, :credit_amount_cents
|
6
6
|
|
7
7
|
def self.find(merchant_id, email=nil)
|
8
8
|
if email.nil?
|
data/lib/apruve/version.rb
CHANGED
@@ -40,6 +40,9 @@ describe Apruve::CorporateAccount do
|
|
40
40
|
it { should respond_to(:status) }
|
41
41
|
it { should respond_to(:trusted_merchant) }
|
42
42
|
it { should respond_to(:authorized_buyers) }
|
43
|
+
it { should respond_to(:credit_available_cents) }
|
44
|
+
it { should respond_to(:credit_balance_cents) }
|
45
|
+
it { should respond_to(:credit_amount_cents) }
|
43
46
|
|
44
47
|
describe '#find' do
|
45
48
|
context 'successful response' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apruve
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apruve, Inc.
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-12-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|