vpsa 0.0.30 → 0.0.31

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: aca1e7af37cc382877161857c76cd868e9e08736
4
- data.tar.gz: c502b57090fe4306057e814509f061f9566c3e00
3
+ metadata.gz: 6f89a40f59030e46fbff607f61c4c0330e6f3bb5
4
+ data.tar.gz: c2a145eb80717a194d592a9c41b21028a109e080
5
5
  SHA512:
6
- metadata.gz: 10e38c349281a1c8b7fcd9f130efaa0f801a0147b0bd00e0c6f13a91219471002eafaf028c3819a87ea431b5e8d5788e4af80de97d53e4f23a3cf3e414215ecf
7
- data.tar.gz: c2467abb1db6172c99207fadf632b21f098317f2c9d088e5fc210a9f3381237259eaef96839dec9e0d8d100bdf76e98e3cdcf9dad5de487ae5e697c48cd451be
6
+ metadata.gz: 21191ac17f824dae6cd24e1f2de7f9f68c9fb5b4a87fb9afbab29337c445e51e1f031b9ea4f0d9624a16c581cccdddb707a0fc27feb011af9ee8ffd1fa7d7daf
7
+ data.tar.gz: 321ad23cb5e60db71623e691cd0fcb80bee13356b2b6b6fc78cba0499b72a120c1ce11b49e2ab37e0185c96e2017f9e52aa6f484bbcf12256d3ee74733f9d493
@@ -3,7 +3,7 @@ module Vpsa
3
3
  class PaymentConditions < Client
4
4
  require_all 'vpsa/searcher/financial', 'payment_condition_searcher'
5
5
 
6
- base_uri "#{Vpsa::API_ADDRESS}/planos-pagamento-compras"
6
+ base_uri "#{Vpsa::API_ADDRESS}/planos-pagamento"
7
7
 
8
8
  def list(searcher = nil)
9
9
  raise ArgumentError unless searcher.nil? || searcher.is_a?(Vpsa::Searcher::Financial::PaymentConditionSearcher)
@@ -4,7 +4,7 @@ module Vpsa
4
4
  module Searcher
5
5
  module Financial
6
6
  class PaymentConditionSearcher < Base
7
- attr_accessor :desde, :ate, :alteradoApos, :descricao
7
+ attr_accessor :inicio, :quantidade, :alteradoApos, :documentoTerceiro
8
8
  end
9
9
  end
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Vpsa
2
- VERSION = "0.0.30"
2
+ VERSION = "0.0.31"
3
3
  end
@@ -5,7 +5,7 @@ RSpec.describe Vpsa::Api::PaymentConditions do
5
5
 
6
6
  describe "list" do
7
7
  before(:each) do
8
- stub_request(:get, "#{Vpsa::API_ADDRESS}/planos-pagamento-compras/").to_return(:status => 200)
8
+ stub_request(:get, "#{Vpsa::API_ADDRESS}/planos-pagamento/").to_return(:status => 200)
9
9
  end
10
10
 
11
11
  it "should issue a get to the product categories url" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vpsa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.30
4
+ version: 0.0.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gustavo Berdugo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-29 00:00:00.000000000 Z
11
+ date: 2015-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty