zapier_ruby 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/zapier_ruby/version.rb +1 -1
- data/lib/zapier_ruby/zapper.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzcyMDhjZGM1ZTM0Zjk1MDlmMDNmZTZkNzBlMjE0MzQxODIwNGUxZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YmI4NjM1MDZmZTY2ZmQ4ZDZlNGI2NmFmZDQzYTk4YjQ2MDUwMzI2ZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDcyOTkxNDYyNzc4MWJmY2I2ZjlmZmY4MThiODM0OTkwZDhlZDAxNDI5ZDg3
|
10
|
+
Yzk0ODY1NTQ5YWQyNjM0YmI1NzhjZTYyMWM4MjNkZjk0NGZkMDQyODljY2Iw
|
11
|
+
ZjUwZWE3NmFjZGJlNGVjN2E2ZjE4MDU4NTBlZmMyMmZlM2U3ZWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Njc1NzNkZDQ1MDJlODRlNTczYjMwMDU2NjlmNzQ4ODZhMzk0Y2ZhYjFhZWM2
|
14
|
+
YmIxNGQ0Yjg1YzJiNzM4NTM4YWE2MzUwNjAwMDQ4NTFkMGM5Y2U2NDlmYzQ0
|
15
|
+
ODU0N2ZhNTFiMjU5YTg4NzkxNTZhODIyN2JlMzQ1ZWJkY2FlYzE=
|
data/lib/zapier_ruby/version.rb
CHANGED
data/lib/zapier_ruby/zapper.rb
CHANGED
@@ -2,9 +2,10 @@ module ZapierRuby
|
|
2
2
|
class Zapper
|
3
3
|
attr_accessor :zap_name, :logger
|
4
4
|
|
5
|
-
def initialize(zap_name)
|
5
|
+
def initialize(zap_name, web_hook_id=nil)
|
6
6
|
self.zap_name = zap_name
|
7
7
|
self.logger = LoggerDecorator.new(config.enable_logging)
|
8
|
+
@zap_web_hook = web_hook_id if web_hook_id
|
8
9
|
end
|
9
10
|
|
10
11
|
def zap(params={})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zapier_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Peterson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|