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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTRmZmQyM2I0ZGRkNWM1MGFmNzM3ZTYxM2Y1YWY4NTVhNjEzZTZjNw==
4
+ MzcyMDhjZGM1ZTM0Zjk1MDlmMDNmZTZkNzBlMjE0MzQxODIwNGUxZg==
5
5
  data.tar.gz: !binary |-
6
- ZWZjNTY0M2MxMWI1NWExNTYwMmMxOGNhNmQyYmM3MjRmM2IwMDk2YQ==
6
+ YmI4NjM1MDZmZTY2ZmQ4ZDZlNGI2NmFmZDQzYTk4YjQ2MDUwMzI2ZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTA1MmViNWMyOGM5ZjMwOWQ4MTc4MzUwZmMyYzliYzRkNWJkNzE4MGI3Nzhj
10
- ODRkYmFlZDNiZDRmYzcyNzFjNGJjNTg0NzE1NjAyZGZlOWM2ZDQxZDA0ZDVi
11
- OWViZTAzZWU3YjQwOTcxYzU3NWNmYjRlMWZiNWZkOGYxN2E4NmI=
9
+ ZDcyOTkxNDYyNzc4MWJmY2I2ZjlmZmY4MThiODM0OTkwZDhlZDAxNDI5ZDg3
10
+ Yzk0ODY1NTQ5YWQyNjM0YmI1NzhjZTYyMWM4MjNkZjk0NGZkMDQyODljY2Iw
11
+ ZjUwZWE3NmFjZGJlNGVjN2E2ZjE4MDU4NTBlZmMyMmZlM2U3ZWM=
12
12
  data.tar.gz: !binary |-
13
- ZDgxN2Q5ZTNiZTBlNmExMzMxZDU1OTljYjdhMzAxYWRhMjUwOTM0MzJjNTk2
14
- MzkzNGJhMWUxMjI1MmQ5NGNmNjAyYzljZjE3N2Q4ZWQxZmIwYTRjN2ExMjYz
15
- ZmVhNjg1YzJmMGY3ZWYwNjBlMWJiN2RmZWVhZDY0NjIxNTJiMDU=
13
+ Njc1NzNkZDQ1MDJlODRlNTczYjMwMDU2NjlmNzQ4ODZhMzk0Y2ZhYjFhZWM2
14
+ YmIxNGQ0Yjg1YzJiNzM4NTM4YWE2MzUwNjAwMDQ4NTFkMGM5Y2U2NDlmYzQ0
15
+ ODU0N2ZhNTFiMjU5YTg4NzkxNTZhODIyN2JlMzQ1ZWJkY2FlYzE=
@@ -1,3 +1,3 @@
1
1
  module ZapierRuby
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -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
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-10-12 00:00:00.000000000 Z
11
+ date: 2015-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client