lib/travis/client/methods.rb in travis-1.6.3.travis.390.4 vs lib/travis/client/methods.rb in travis-1.6.3.travis.392.4
- old
+ new
@@ -86,8 +86,12 @@
def listen(*entities, &block)
listener = Listener.new(session)
listener.subscribe(*entities, &block)
listener.listen
end
+
+ def hooks
+ session.get('hooks')['hooks']
+ end
end
end
end