Sha256: 8e4eadb5d1b37ce4aa23e983fb24f81cdb3f60b43de7bb072440f03016f9d62e

Contents?: true

Size: 359 Bytes

Versions: 11

Compression:

Stored size: 359 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("#{base_url}/notifications", merge_params(options, params))
    end

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
zencoder-2.1.10 lib/zencoder/notification.rb
zencoder-2.1.9 lib/zencoder/notification.rb
zencoder-2.1.8 lib/zencoder/notification.rb
zencoder-2.1.7 lib/zencoder/notification.rb
zencoder-2.1.6 lib/zencoder/notification.rb
zencoder-2.1.5 lib/zencoder/notification.rb
zencoder-2.1.4 lib/zencoder/notification.rb
zencoder-2.1.3 lib/zencoder/notification.rb
zencoder-2.1.2 lib/zencoder/notification.rb
zencoder-2.1.1 lib/zencoder/notification.rb
zencoder-2.1.0 lib/zencoder/notification.rb