pipe_drive_ruby_wrapper 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pipe_drive/activity.rb +10 -0
- data/lib/pipe_drive/base.rb +1 -1
- data/lib/pipe_drive/person.rb +2 -2
- data/lib/pipe_drive_ruby_wrapper.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6194381c3e69bfd85c4f56cfe46b0a7e3dd72d807e37321c15388a6da7ba1c8
|
4
|
+
data.tar.gz: 60e5915a47680e389b31f335f925ae1d484203e58d01d952db9f84fe7d6d0781
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eeb9780ef3994337e20dbdf0167f2445958f1baac8755531987715d1949190ebfb9c1020fade871838d6e132b2f99bc0e8b391170cc0f0b8074d092eed2f8292
|
7
|
+
data.tar.gz: 9ab90f34a831443b5d857105b677885ab9640d7be3ee2517f02fa549df02d2e3314c12e73a76c9ee1de103cab16e406195cc5c2668d00adbe181a4e820a11869
|
data/lib/pipe_drive/base.rb
CHANGED
data/lib/pipe_drive/person.rb
CHANGED
@@ -7,14 +7,14 @@ module PipeDrive
|
|
7
7
|
path = "/persons/#{id}/activities"
|
8
8
|
params = {start: start_from, limit: per_page}
|
9
9
|
params.merge!(options)
|
10
|
-
pagination
|
10
|
+
Activity.send(:pagination, path, params, &block)
|
11
11
|
end
|
12
12
|
|
13
13
|
def deals(start_from=0, per_page=DEFAULT_PER_PAGE, options={}, &block)
|
14
14
|
path = "/persons/#{id}/deals"
|
15
15
|
params = {start: start_from, limit: per_page}
|
16
16
|
params.merge!(options)
|
17
|
-
pagination
|
17
|
+
Deal.send(:pagination, path, params, &block)
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pipe_drive_ruby_wrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JiaRou Lee
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -32,6 +32,7 @@ extra_rdoc_files:
|
|
32
32
|
- README.md
|
33
33
|
files:
|
34
34
|
- README.md
|
35
|
+
- lib/pipe_drive/activity.rb
|
35
36
|
- lib/pipe_drive/base.rb
|
36
37
|
- lib/pipe_drive/deal.rb
|
37
38
|
- lib/pipe_drive/deal_field.rb
|