Sha256: 6e1a33ca92d869a62c75c80707b2e7cb16d4311fd74b7b2cd5ecb380c8e0e025
Contents?: true
Size: 736 Bytes
Versions: 11
Compression:
Stored size: 736 Bytes
Contents
class Zencoder class Account < Zencoder def self.create(params={}, options={}) HTTP.post("#{base_url}/account", encode(params, options[:format]), options) end def self.details(options={}) params = {:api_key => options.delete(:api_key) || api_key} HTTP.get("#{base_url}/account", merge_params(options, params)) end def self.integration(options={}) params = {:api_key => options.delete(:api_key) || api_key} HTTP.get("#{base_url}/account/integration", merge_params(options, params)) end def self.live(options={}) params = {:api_key => options.delete(:api_key) || api_key} HTTP.get("#{base_url}/account/live", merge_params(options, params)) end end end
Version data entries
11 entries across 11 versions & 1 rubygems