zencoder 2.1.7 → 2.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/lib/zencoder/job.rb CHANGED
@@ -2,9 +2,9 @@ class Zencoder
2
2
  class Job < Zencoder
3
3
 
4
4
  def self.create(params={}, options={})
5
- params_with_api_key = {:api_key => api_key}.merge(decode(params, options[:format]))
5
+ params = {:api_key => api_key}.merge(params) if api_key
6
6
  HTTP.post("#{base_url}/jobs",
7
- encode(params_with_api_key, options[:format]),
7
+ encode(params, options[:format]),
8
8
  options)
9
9
  end
10
10
 
@@ -1,3 +1,3 @@
1
1
  class Zencoder
2
- VERSION = '2.1.7'
2
+ VERSION = '2.1.8'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2
7
7
  - 1
8
- - 7
9
- version: 2.1.7
8
+ - 8
9
+ version: 2.1.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nathan Sutton