Sha256: faa376fa3be0bdb19280c1c50411db4e9bc1a827d33e696f1d25bfbc43f62ce3

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

module Zencoder
  class Notification < Base

    def self.list(options={})
      params = {:api_key  => options.delete(:api_key) || api_key,
                :page     => options.delete(:page) || 1,
                :per_page => options.delete(:per_page) || 50 }

      HTTP.get("#{options[:base_url] || base_url}/notifications", merge_params(options, params))
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zencoder-2.3.3 lib/zencoder/notification.rb
zencoder-2.3.2 lib/zencoder/notification.rb
zencoder-2.3.1 lib/zencoder/notification.rb
zencoder-2.3.0 lib/zencoder/notification.rb