Sha256: 01886a0f71134999dcc06dc42e4859fbba6fa68820bab80ec03aa70fd82cec58

Contents?: true

Size: 381 Bytes

Versions: 8

Compression:

Stored size: 381 Bytes

Contents

class Zencoder
  class Notification < Zencoder

    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

8 entries across 8 versions & 1 rubygems

Version Path
zencoder-2.2.2 lib/zencoder/notification.rb
zencoder-2.2.1 lib/zencoder/notification.rb
zencoder-2.2.0 lib/zencoder/notification.rb
zencoder-2.1.15 lib/zencoder/notification.rb
zencoder-2.1.14 lib/zencoder/notification.rb
zencoder-2.1.13 lib/zencoder/notification.rb
zencoder-2.1.12 lib/zencoder/notification.rb
zencoder-2.1.11 lib/zencoder/notification.rb