Sha256: c0dee262fe496fa7edcfce7e83798388b833127a742ddf9276222d9a4e78eb7c
Contents?: true
Size: 824 Bytes
Versions: 8
Compression:
Stored size: 824 Bytes
Contents
class Zencoder class Account < Zencoder 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
8 entries across 8 versions & 1 rubygems