myob-api 0.7 → 0.7.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
  SHA1:
3
- metadata.gz: cff71416241b80eabc277970013de629ce7d7aee
4
- data.tar.gz: d6cf941b41a1b49b7451b9a937f5ed5e37d44f2d
3
+ metadata.gz: cda26bcb6e112f93c6c09d12d440fc18c5c9f09e
4
+ data.tar.gz: 0fac8887d4ffc6cbc1d9abfd406c6f7eeb320c31
5
5
  SHA512:
6
- metadata.gz: 899b86fd32a9205f323bdbba03981018e9d235a2005be16dde0ed611b8bce49db34d8b01ed475b5c719250e83eac249b6086679458adfcea4b5271d89a2f0bde
7
- data.tar.gz: cca7bce1c7195aa774f089fd8672458ff8c044c5e0d9a6f3afc133e9b6e3918de7680a36f5db740624d960dc311c4078d72c536de8d80c09b358de1ffb4be795
6
+ metadata.gz: 10bb4f5ea9a7d69121bb4f4d491d8b5bfeaec85260209c5fa6cf753f85b516a71f561018c4261436610c449ae47feffa1eb2aaa1fb4bc8a118c9fcd29206513c
7
+ data.tar.gz: f0581a3a3f9797783ba5dc2b7a69e4dbe6f0b089fffd16cf75ba11bf031c43247600a67934cbe9410387263d99948fb2a7c2314ba3250e998c8dd4d7d76c3580
@@ -31,13 +31,13 @@ module Myob
31
31
  end
32
32
 
33
33
  def next_page(params = nil)
34
- perform_request(@next_page_link, params)
34
+ perform_request(@next_page_link)
35
35
  end
36
36
 
37
37
  def all_items(params = nil)
38
38
  results = all(params)["Items"]
39
39
  while next_page?
40
- results += next_page(params)["Items"] || []
40
+ results += next_page["Items"] || []
41
41
  end
42
42
  results
43
43
  end
@@ -1,5 +1,5 @@
1
1
  module Myob
2
2
  module Api
3
- VERSION = "0.7"
3
+ VERSION = "0.7.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myob-api
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Lumley