apruve 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c69a200e5d2e14411677c3242263eedf5d936908
4
- data.tar.gz: c80043d647d2e96c4f8b62e6973d8e7fb6cb5af3
3
+ metadata.gz: 8627da221432f47423e865161c9b050322b001b9
4
+ data.tar.gz: 7d543ca989f8ffc2830efe38c114c464982fb2e5
5
5
  SHA512:
6
- metadata.gz: 332ca044f36438751dd82a0e536dca824d3df361a27f5b8b94562d78ea4fdb430603ef88dcfe3f293b8730f711a5180ca8abe65882d4382cd0651f61f1debb44
7
- data.tar.gz: 30bc89e27bca5714c5a07877629a3d0dc864722a55f058f90656d930c650068e60e5f0187811998ff1a413d73571d3c7aa1613d5c91a60e0de2c1c26c3ce0018
6
+ metadata.gz: 0377537b00e7b2d2a1379d5d8078a568df6e676ca7b65f2615d64f230779e0a7f85ea835370fb91748f7745593a03e230f1f6eb64c102c854a4c90aff8f1b8e8
7
+ data.tar.gz: a10c9c3120f2e3382ecb0e312c7a89249789c82cd148c8edef64b97a553ddee7a5fb836a1215695423c3348ac4c5124ef927b394dd337f1d62fdacbc969cbfc4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- apruve (2.0.1)
4
+ apruve (2.0.2)
5
5
  addressable (~> 2.3)
6
6
  faraday (>= 0.8.6, <= 0.9.0)
7
7
  faraday_middleware (~> 0.9)
@@ -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?
@@ -1,3 +1,3 @@
1
1
  module Apruve
2
- VERSION = '2.0.1'
2
+ VERSION = '2.0.2'
3
3
  end
@@ -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.1
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-10-30 00:00:00.000000000 Z
12
+ date: 2017-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler