Sha256: fcdb6668be501f7e31cff142fa5fce56d5e15c55e4b54f99be43078e97fcd21e
Contents?: true
Size: 821 Bytes
Versions: 4
Compression:
Stored size: 821 Bytes
Contents
module Zencoder class Account < Base def self.create(params={}, options={}) HTTP.post("#{options[:base_url] || base_url}/account", encode(params, options[:format]), options) end def self.details(options={}) params = {:api_key => options.delete(:api_key) || api_key} HTTP.get("#{options[:base_url] || base_url}/account", merge_params(options, params)) end def self.integration(options={}) params = {:api_key => options.delete(:api_key) || api_key} HTTP.get("#{options[:base_url] || base_url}/account/integration", merge_params(options, params)) end def self.live(options={}) params = {:api_key => options.delete(:api_key) || api_key} HTTP.get("#{options[:base_url] || base_url}/account/live", 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/account.rb |
zencoder-2.3.2 | lib/zencoder/account.rb |
zencoder-2.3.1 | lib/zencoder/account.rb |
zencoder-2.3.0 | lib/zencoder/account.rb |