zencoder-flix_cloud-gem 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
- :minor: 3
3
+ :minor: 4
4
4
  :patch: 0
@@ -17,4 +17,16 @@ class FlixCloud::Notification < FlixCloud::Record
17
17
  super(attrs)
18
18
  end
19
19
 
20
- end
20
+ def successful?
21
+ state == 'successful_job'
22
+ end
23
+
24
+ def failed?
25
+ state == 'failed_job'
26
+ end
27
+
28
+ def cancelled?
29
+ state == 'cancelled_job'
30
+ end
31
+
32
+ end
@@ -27,6 +27,7 @@ class FlixCloud::Record
27
27
  }
28
28
  end
29
29
 
30
+
30
31
  protected
31
32
 
32
33
  def post(path, body)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zencoder-flix_cloud-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Sutton